Clone
 

roberta marton <roberta.marton@esgyn.com> in Trafodion

TRAFODION-1704: T2 and T4 driver cleanup

Removed obsolete files from T2, redesigned result set code for T4 driver code

so same files can be removed.

Removed BaseRow.java, Row.java, and InsertRow.java from T2 and T4 code

Added ObjectArray.java to T4 code to store and manage an array of objects

TRAFODION-1642 Release 1.3.0 copyrights and license files are incorrect

Part 3 of cleaning up copyrights and license files

    • -0
    • +88
    /core/conn/jdbc_type4/src/org/trafodion/jdbc/t4/ObjectArray.java
TRAFODION-1031: PUBLIC" is not recognized in some statements

Fixed a couple of issues where PUBLIC was not returned. With this check-in we

will treat PUBLIC as a special role.

    • -0
    • +15
    /core/sql/sqlcomp/CmpSeabaseDDLauth.cpp
Merge [TRAFODION-1642] PR-216 License issue fixes

Merge issue - add back Apache Copyright

    • -0
    • +23
    /install/installer/traf_getHadoopNodes
updated Linux driver package files to remove LICENSE requirement

added back .gitignore and added .gitattributes

Minor update to .rat-excludes file

TRAFODION-1642: Release 1.3.0 copyrights and license files are incorrect

Part 2 of copyright and licensing changes

Removed double copyrights in files

Updated LICENSE, README, RAT_README to reflect latest changes

Added licenses directory to include license text

Added .gitattributes to exclude files from the source tar file

Changed Hewlett Packard copyright to Apache copyrights in win-odbc

    • -22
    • +0
    /core/sqf/conf/trafodion.udr.config
  1. … 123 more files in changeset.
Merge [TRAFODION-1636] and [TRAFODION-1642] PR-185 Copyrights, License, and Notice file updates

Copied pull request 187 to release1.3 branch

updated .rat-excludes and RAT_README.txt to include copyright changes

TRAFODION-1636 & TRAFODION-1642

TRAFODION-1636: wms and dcs directories contain NOTICE and LICENSE FILES

TRAFODION-1642: Release 1.3.0 copyrights and license files are incorrect

Fixed up copyrights

Removed Apache copyrights (should only have one copyright in file)

core/sql/common/swscanf.cpp

core/sql/common/sqsprintf.cpp

core/sql/parser/ulexer.h

Removed copyright - deemed to be our code and can safely remove

core/conn/jdbc_type4/src/org/trafodion/jdbc/t4/T4DatabaseMetaData.java

core/sql/regress/newregr/card/runregr_card.ksh

dcs/src/main/java/org/trafodion/dcs/util/ByteBufferUtils.java

dcs/src/main/java/org/trafodion/dcs/util/SqlUtils.java

Replaced Hewlett Packard copyright with Apache copyright

core/sql/regress/seabase/EXPECTED021

core/sql/regress/udr/EXPECTED100.SB

docs/client_install/source/Trafodion_Client_Installation_Guide.xml

docs/client_install/source/xml-profile.xml

docs/command_interface/source/Trafodion_Command_Interface_Guide.xml

docs/command_interface/source/xml-profile.xml

docs/odb_manual/Trafodion_odb_User_Guide.xml

docs/sql_reference/source/Trafodion_SQL_Reference_Manual.xml

docs/sql_reference/source/xml-profile.xml

wms/build.xml

Removed code/files that are not being used that contain invalid copyrights

core/sqf/export/lib/Vili/Functions.pm

core/sqf/export/lib/Vili/Helper.pm

core/sqf/export/lib/Vili/NoDriftTimer.pm

core/sql/common/from_GB2312.c

core/sql/regress/newregr/mvs/BIG/expectedmv215_RU

core/sql/regress/newregr/mvs/EXPECTEDMV500

core/sql/regress/newregr/mvs/EXPECTEDMV500A

core/sql/regress/newregr/mvs/EXPECTEDMV500A_LINUX

core/sql/regress/newregr/mvs/TPCD/DBGEN_HELP.TXT

dcs/src/main/resources/dcs-webapps/master/css/stylesheet.css

Removed filters for Hewlett Packard, Tandem, Compaq, and Microsoft. None of

test software should returns these values

core/sql/regress/tools/regress-filter

core/sql/regress-tools/regress-filter-linux

Removed LICENSE and NOTICE files from child directories

dcs/LICENSE.txt

dcs/NOTICE.txt

wms/LICENSE.txt

wms/NOTICE.txt

install/README.rst

Reworded comment so Copright would not show up on search

core/sql/update/CopyrightCheck.py

    • -725
    • +0
    /core/sqf/export/lib/Vili/Functions.pm
    • -674
    • +0
    /core/sqf/export/lib/Vili/Helper.pm
    • -98
    • +0
    /core/sqf/export/lib/Vili/NoDriftTimer.pm
    • -4708
    • +0
    /core/sql/regress/newregr/mvs/EXPECTEDMV500
    • -5179
    • +0
    /core/sql/regress/newregr/mvs/EXPECTEDMV500A
    • -83
    • +0
    /core/sql/regress/newregr/mvs/TPCD/DBGEN_HELP.TXT
    • -13
    • +13
    /core/sql/regress/seabase/EXPECTED021
  1. … 21 more files in changeset.
Trafodion-1100 Creator of view in private schema unable to select from view

For private schemas, all objects are owned by the schema owner. If an authID

has create component privilege, they can create objects in other schemas.

However, the owner of the new object is still the schema owner.

When the object creator is not the schema owner, then the schema owner

automatically becomes the owner and the object creator is granted all relevant

privileges on the object WGO.

For views, this was not working correctly.

Also found another issue where column privileges were not being handled

correctly when generating the privileges list.

Problem is described in more detail in the JIRA

Changes:

CmpSeabaseDDLview - changed the create view code to add privileges for both the

schema owner and the view creator, and fixes the privilege list issue.

PrivMgr - added a helper function to convert an authID to an authName

PrivMgrCommands - changed the API to send in the grantor ID

PrivMgrPrivileges - changed the code to use the passed in grantor

TEST141 - added a new regression test, it is currently skipped until

trafodion-1087 is resolved.

    • binary
    /core/sql/regress/catman1/EXPECTED141
    • -0
    • +394
    /core/sql/regress/catman1/TEST141
    • -69
    • +166
    /core/sql/sqlcomp/CmpSeabaseDDLview.cpp
    • -4
    • +12
    /core/sql/sqlcomp/PrivMgrPrivileges.cpp
Merge branch 'master' into privs

Merge [TRAFODION-1623] PR172 Installation fails

Fix for Trafodion 1623

Merge [TRAFODION-1623] PR 171 Installation fails

Merge branch 'master' into privs

Merge [TRAFODION-1612] and [TRAFODION-1613] build changes

Merge [TRAFODION-1612] and [TRAFODION-1613] build changes

Trafodion-1612 and Trafodion-1613

1612: Stop building HBase-trx for MAPR, due to instable Maven repository

- removed mapr from the build_all step in the hbase_trx Makefile, we now create

6 jar files instead of 7

1613: build failing due to mismatched Maven downloads

When building Trafodion from source objects, Maven is required. It is not

possible to download Maven from yum, instead it needs to be installed. There

are a few problems related to how Maven is managed with Trafodion builds.

- In many environments, Maven is already installed. The check to see if Maven

is already installed is commented out in traf_tools_setup.sh. This has been

fixed.

- Today, sqenvcom.sh checks to see if mvn is installed, if not, it sets it to

version 3.0.5 but we install 3.3.3. Changed the code to return an error:

"ERROR unable to find mvn (MAVEN) in path" to inform the user that mvn needs

to be added to the path before building. An error is also returned during

the build (make) if mvn is not found in the path.

- As part of the above change, it was noted that many of the tools were being

set to the value of $TOOLSDIR when $TOOLSDIR may not be set. Checks were

added to see if the environment variable was already set. This allows

someone to specify a different location for these tools as described in the

additional build tools wiki page.

- Changed the output returned in bldenvchk.sh. BISON does not have to be in

the path but needs to be specified correctly in the environment variable.

    • -1
    • +1
    /core/sqf/src/seatrans/hbase-trx/Makefile
Merge TRAFODION-1569 Release package has missing and imcomplete files

TRAFODION-1569 Release package has missing and incorrect files

Couple of additional fixes to remove obsolete names

    • -0
    • +1
    /core/sqf/sql/scripts/install_traf_components
TRAFODION-1560 Release package has missing and incorrect files

Fixed a RAT issue with trafodion_license file

    • -13
    • +35
    /install/installer/trafodion_license
Trafodion-1569 -- Release package has missing and incorrect files

Created a DISCLAIMER.txt file

Created a LICENSE.txt file

removed the readme.md file and replaced it with README.txt

Updated the NOTICE.txt to add copyright dates from HP

Modified RAT_README.txt and .rat-excludes to match the

soure package; also reformatted it a bit

Remove the file license-gpl2.txt since it is not used

Change the license copyrights around in trafodion_license so it will

pass the rat test

    • -11
    • +14
    /install/installer/trafodion_license
Merge [TRAFODION-1540] PR-136 Replace host name with IP address

Merge [TRAFODION-1519] PR-126 Use free tool to build windows ODBC

Trafodion-1560 -- Improve script that sets up tools needed for Trafodion build

fixed review comments

Trafodion-1560 -- Improve script that sets up tools needed for Trafodion build

Fixed traf_tools_setup.sh to be more robust.

All stdout and stderr messages are logged and the requester only sees the

progress of the operation. If a tool fails to install, the script terminates

and details of the failure can be found in the log. Once the problem is fixed,

the script can be re-run. Upon rerun, tools already installed are skipped.

Failures may occur after the tools is partially installed, for example, failure

occurred during the make step after the tar file was downloaded. Upon rerun,

the tool will pickup where it left off and continue. In this case, the file

will not be downloaded again because it already exists.

Here is an example of the output: some tools have already been installed, some

have not been installed, and some are in various states of installation:

INFO: Starting tools build on Fri Oct 23 20:51:53 UTC 2015

INFO: Tar download location: /home/centos

INFO: Tool install directory location: /home/centos/tools

INFO: LogFile location: /home/centos/traf_tools_setup.log

***********************************************************

INFO: Installing MPI on Fri Oct 23 20:51:53 UTC 2015

INFO: downloaded tar file: mpich-3.0.4.tar.gz

INFO: configure complete

INFO: make completed

INFO: make install complete, files placed in /home/centos/tools

INFO: MPI installation complete

***********************************************************

INFO: Installing Bison on Fri Oct 23 20:53:46 UTC 2015

INFO: downloaded tar file: bison-3.0.tar.gz

INFO: configure complete

INFO: make completed

INFO: make install complete, files placed in /home/centos/tools

INFO: Bison installation complete

***********************************************************

INFO: Installing UDIS on Fri Oct 23 20:54:32 UTC 2015

INFO: UDIS is already installed, skipping to next tool

INFO: UDIS installation complete

***********************************************************

INFO: Installing LLVM on Fri Oct 23 20:54:32 UTC 2015

INFO: LLVM is already installed, skipping to next step

INFO: LLVM installation complete

***********************************************************

INFO: Installing ICU on Fri Oct 23 20:54:32 UTC 2015

INFO: ICU is already installed, skipping to next tool

INFO: ICU installation complete

***********************************************************

INFO: Installing ZooKeeper on Fri Oct 23 20:54:32 UTC 2015

INFO: tar file already downloaded, step skipped

INFO: source tree already exists

INFO: configure complete

INFO: make completed

INFO: make install complete, files placed in /home/centos/tools

INFO: ZooKeeper installation complete

***********************************************************

INFO: Installing Thrift on Fri Oct 23 20:54:41 UTC 2015

INFO: Thrift is already installed, skipping to next tool

INFO: Thrift installation complete

***********************************************************

INFO: Installing Maven on Fri Oct 23 20:54:41 UTC 2015

INFO: downloaded tar file: apache-maven-3.3.3-bin.tar.gz

INFO: Maven installation complete

***********************************************************

INFO: Completed tools build on Fri Oct 23 20:54:49 UTC 2015

INFO: List of tools directory:

apache-maven-3.3.3

bison_3_linux

dest-llvm-3.2

dest-mpich-3.0.4

icu4.4

thrift-0.9.0

udis86-1.7.2

zookeeper-3.4.5

    • -116
    • +263
    /install/traf_tools_setup.sh