Makefile

Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[TRAFODION-2861][TRAFODION-2869] Remove incubating from release packaging

Remove disclaimer file and incubating string from packaging file names.

  1. … 13 more files in changeset.
[TRAFODION-2861][TRAFODION-2869] Remove incubating from release packaging

Remove disclaimer file and incubating string from packaging file names.

  1. … 14 more files in changeset.
[TRAFODION-2092] (Backport to release2.0) Fix installer package name

This is a backport of Anu's changes and mine from master to generate

installer package from the main makefile and name the package correctly.

Also includes the license typo mentioned in TRAFODION-2093.

These changes are backported in case any more patch releases are needed

for 2.0.x.

  1. … 3 more files in changeset.
Linux odbc driver will now be installed along with Server component Installer tar is packaged and distributed with 'make pacakge-all' Fixed minor issues

  1. … 8 more files in changeset.
[TRAFODION-1835] Re-factor license files

Enable building license files for source and binary distributions.

Since we build several different distribution packages, the LICENSE

files need to be specific to the components packaged.

The licenses/Makefile indicates how we combine each component source

and binary license files for source package and the various binary

distribution packages.

Binary distribution license info is still incomplete. This change

sets the framework, and license content will be completed later.

Several of the licenses/*-bin files have "To Do" items indicating

remaining work to be done related to TRAFODION-1816.

  1. … 33 more files in changeset.
Fixed version issue in DCS Added a new target to Makefile(toplevel and core) to install traf components( eg: make trafinstall) Updated the format of DCS log files fixed minor issues

  1. … 13 more files in changeset.
Fixed minor issues with version and make dependencies

  1. … 6 more files in changeset.
Added copyright to template file Fixed the package name for the src tar file

  1. … 2 more files in changeset.
compressed the src package

Changed the source package name to contain the version info Fixed trafci banner issue for non-unix machines Fixed other minor issues

  1. … 6 more files in changeset.
Modified top level makefile to package trafodion source

  1. … 3 more files in changeset.
Incorporated building eclipse project as part of the top level makefile

-Eliminated installing trafodion components along with install_local_hadoop -Added a new script to install trafodion components (install_traf_components) -Modifed core 'makefile' so dcs gets built along with 'core' -Introduced a new makefile at the top level

  1. … 10 more files in changeset.
Migrate from log4cpp to log4cxx

This change is a wholesale removal of log4cpp from source tree.

log4cxx is an external library installed via RPM, or user build

to default /usr/lib64 and /usr/include directories. Some of the

QRLogger and CommonLogger code was changed to use the new log4cxx

APIs.

Change-Id: I248bac0a8ffbfea6cbc1ba847867b30638892eae

  1. … 208 more files in changeset.
Do not run check-copyrights step in make all

Change-Id: I93c056c72117ba9f3b151cb57438ff63bb9db159

Move install into subdir to combine repos

  1. … 66 more files in changeset.
Move core into subdir to combine repos

  1. … 10768 more files in changeset.
Move core into subdir to combine repos

  1. … 10622 more files in changeset.
Move core into subdir to combine repos

Use: git log --follow -- <file>

to view file history thru renames.

  1. … 10837 more files in changeset.
Improved make rules for log4cpp packaging

Packaging of the source for log4cpp in change 1604 did not handle

a second make in the same directory or "make clean". Those problems

have been fixed.

Change-Id: I4172d6b02092fcf6e943e50a106051e214956ed1

Package log4cpp source into core product tgz file

The log4cpp source files used to build trafodion/core have small differences

from files downloaded from http://sourceforge.net/projects/log4cpp version

1.1.1, so they should be provided to the end user.

This change packages the log4cpp directory of https://github.com/trafodion/core

into a tar file, and puts that in the trafodion core product's .tgz file as:

sources/log4cpp-1.1.1.tar

When Trafodion is installed, this file is available to the end user.

This new file has tar format, not gzip format, and hence its name has .tar

instead of .tgz. Files with the tgz extension are excluded from packaging

into the core product because "*tgz" is in sqf/build-scripts/package.exclude.

In sqf/Makefile, 4 obsolete lines were deleted, because this build does not

compare the package contents with a bom (bill-of-materials) list.

The packaged source files include the license used by log4cpp, in the file

named COPYING which starts with:

GNU LESSER GENERAL PUBLIC LICENSE

Version 2.1, February 1999

Copyright (C) 1991, 1999 Free Software Foundation, Inc.

59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

In the second patch set, added the new tar file to two .gitignore files

so builds in Jenkins do not fail the test for untracked files in the

check-git-status.sh script.

Change-Id: I8db0559128e3f57653ad3cf08f2b553b225a550c

  1. … 3 more files in changeset.
Adding logic to the core Trafodion build to check for copyrights.

The core Makefile now includes a check-copyrights step, which

checks to see if any changed files in your workspace need

copyright updates. If so, the build fails; the script will tell

you what files to update.

If you prefer, you can configure the script so that it will

automatically update the copyrights for you instead of failing

your build. To do that, export the environment variable

UPDATE_COPYRIGHTS=YES before doing your make.

Note that new files will only be checked if you have previously

done a "git add" command for them. Otherwise only changed

existing files are checked.

Change-Id: Ia643be91bea34832fddcd5a9467959f0726d71d9

  1. … 1 more file in changeset.
Packaging ODB tool with clients tar file

Change-Id: Ida31ec15949b9433a50b2fcd70882b0088970c4a

  1. … 2 more files in changeset.
ODB by Maurizio Felici

ODB is a platform independent, multi-threaded,

ODBC command line tool you can use as:

- data loader/extractor

- query driver

- SQL interpreter

A manual is being prepared and a draft is available upon request.

ODB has been included in the Trafodion build process and will be

available as part of the Trafodion client package. It will also

be available in $MY_SQROOT/export/bin64. Using the tool requires

configuration of the ODBC environment which is described in the

manual. There are future plans to automate this for the standard

development environment and cluster installs.

In this release a 64 bit version that runs on Linux and uses

unixODBC driver manager is available. Versions of the clients

for other platforms and driver managers will be available in

later releases.

The Trafodion team welcomes and thanks Maurizio for his valuable

contribution.

Patch Set 2:

Added a line to gitignore and made makefile aware of debug vs. release

Also added VERS_ symbols to the executable.

Added a README file.

Change-Id: I596324c5cf33fab67b466fbe430bec2e43476c1b

  1. … 8 more files in changeset.
Added new Trafodion REST server infrastructure

This commit provides the infrastructure for a Trafodion REST

server. The code was taken from stand alone DCS rest server and

slightly modified to retain just the REST server components and

its supporting scripting and JDBC T2/T4 capabilities. Additional

work is needed by installation group but it currently can be

started in standalone mode while requirements are fully fleshed out.

Change-Id: I1e7a07a426a2b2c21bbb8c9fdb62222bc542329d

  1. … 69 more files in changeset.
Merge the private shared single script repo into master.

This is a checkin of the single script project which basically

wraps all the various scripts into one single script that the user

runs. The script now has the logic to determine which Hadoop distro

is installed as well as to determine if it is a full install or only

an upgrade and many other changes.

This was developed and tested in a private shared repo so

a review of the code has already been done. QA has approved this

to be checked in.

edit1: fixed shift problem in parsing parameters

edit2: Fixed problems with user config file

Added more error checking for config file

edit3: Fixed config directory creation

edit4: Fixed copyright and OpenStack VM package installation

edit5: Changed Java version detection

No longer do yum removes if package is there already

edit6: Refixed OpenStack VM package installation that got

overlaid in a merge

Added chown command to handle case where SQ_ROOT was not

a sub-directory of the Trafodion userid's home dir

Change-Id: I37a331c89c311feee430541b69f5f7dfe2177e60

  1. … 27 more files in changeset.
Manageability changes - event mgmt and stats publication

Implements changes to support event management using log4cpp.

Configuration files are located in $MY_SQROOT/conf folder and all logs

files are located in $MY_SQROOT/logs folder

For more information see the blueprint at:

https://blueprints.launchpad.net/trafodion/+spec/eventmanagement

Implements changes for publication of statistics to repository. For more

information see the blueprint at:

https://blueprints.launchpad.net/trafodion/+spec/repositorymetrics

Note:

In this initial delivery publication of statistics is disabled by

default and it can be enabled via DCS property. This code has been

reviewed internally prior to merging with mainline

Documentation:

https://wiki.trafodion.org/wiki/index.php/Trafodion_Manageability

Included timestamp to be part of the primarykey for metric aggregation

table

Addressed some of the comments and incorporated Anoop's change for

repository

Changed the queryBuf size in sql/sqlcomp/CmpSeabaseDDLrepos.cpp to 20000

Modified the sql/regress/seabase/EXPECTED024

Change-Id: I517575233c10b2a8683cdd1d53a2eec96d7c2a6f

  1. … 781 more files in changeset.
Add ability to check for absolute files used as dlls

Added script and makefile target for detecting absolute filenames as

seen in bug 1365658. The make target is not yet used in Jenkins

builds. Because the check takes more than 30 seconds, it was not

added as part of the normal "make package" work, a 20+% increase in

running make is not worthwhile for a rare bug which may never happen

again.

Example:

$ time make find-absolute-dlls

sqf/build-scripts/find-abs-dlls

Searching <my-directory>

for absolute files used as dlls ...

ERROR: Found 6 files with absolute filenames as dlls:

sql/lib/linux/64bit/debug/sqlci

NEEDED /home/tools/jdk1.7.0_09_64/jre/lib/amd64/server/libjsig.so

sql/lib/linux/64bit/debug/tdm_arkesp

NEEDED /home/tools/jdk1.7.0_09_64/jre/lib/amd64/server/libjsig.so

sql/lib/linux/64bit/debug/tdm_udrserv

NEEDED /home/tools/jdk1.7.0_09_64/jre/lib/amd64/server/libjsig.so

sql/lib/linux/64bit/debug/tdm_arkcmp

NEEDED /home/tools/jdk1.7.0_09_64/jre/lib/amd64/server/libjsig.so

sql/lib/linux/64bit/debug/mxssmp

NEEDED /home/tools/jdk1.7.0_09_64/jre/lib/amd64/server/libjsig.so

sql/lib/linux/64bit/debug/mxsscp

NEEDED /home/tools/jdk1.7.0_09_64/jre/lib/amd64/server/libjsig.so

make: *** [find-absolute-dlls] Error 6

real 0m39.801s

user 0m26.196s

sys 0m9.438s

Also made a small cleanup to the existing check_man script.

Second patch set added -v to help text.

Change-Id: I22babe08dbf8a4620603fc670acc6b05e831222f

  1. … 2 more files in changeset.
Update release version to 0.9.0 (default release)

Just updating to keep in synch with next trafodion release number.

Change-Id: I14a9dc02514dfeea22c2fe080a851e0faf24d5a1

Partial fix for bug 1347164 - added package-all

Added target package-all to top makefile.

Removed unused targets from top makefile:

mxcs

package-nosrc

pkg-seapilot-regress

pkg-src

Change-Id: Id16cc9b7f0f221f003dc41f693b1d34730a4170a