Clone
 

anuradha hegde <anuradha.hegde@hp.com> in Trafodion

Accidental client code delivery

Change-Id: I92c781b709fe0b876e7c738fea97bad939981eff

  1. … 2356 more files in changeset.
Initial version of Trafodion database manager

This has not been externalized and is untested.

Change-Id: I9c32466b94e7283087523f084ef96ebc8afa2b90

    • -0
    • +24
    /conn/dm/TrafMgr/Readme.txt
    • -0
    • +242
    /conn/dm/TrafMgr/build/TrafMgrBuild.bat
    • -0
    • +21
    /conn/dm/TrafMgr/build/buildconfig.txt
    • -0
    • +87
    /conn/dm/TrafMgr/build/replace.vbs
    • -0
    • +68
    /conn/dm/TrafMgr/build/replaceGUID.vbs
    • -0
    • +76
    /conn/dm/TrafMgr/build/updateFileVersion.vbs
    • -0
    • +80
    /conn/dm/TrafMgr/build/updateInstallerVersion.vbs
    • -0
    • +87
    /conn/dm/TrafMgr/build/vproc.vbs
    • -0
    • +5947
    /conn/dm/TrafMgr/installShield/TrafodionManager.ism
  1. … 2230 more files in changeset.
Initial version of ADO.net driver.

This has not been externalized and it is untested

Change-Id: I07a6d76a04fa3ef2fff4e60615ddc914b5997aaa

  1. … 111 more files in changeset.
Handled input params that are larger than 32K

Fixed bug 1455670 insert using params to varchar column of > 32k colsize

fails

Change-Id: Id84f82f61572e7210a7a8198d630ac51ecddc974

Updated DCS documentation

Change-Id: I5fa14215b759b184b9f77e318db5246fc4c7f8a8

    • -8
    • +17
    /src/main/resources/dcs-default.xml
Packaging ODB tool with clients tar file

Change-Id: Ida31ec15949b9433a50b2fcd70882b0088970c4a

Fixed install local hadoop to build documentation for REST

Change-Id: I84454bd96cfbe4e155b1a45fb0ff664331027e8a

Incorporate install of REST server to install_local_hadoop

Change-Id: I5357202098dd582e6ea0ae8fc6955bbb212693fb

    • -1
    • +114
    /sqf/sql/scripts/install_local_hadoop
    • -0
    • +39
    /sqf/sql/scripts/reststart
    • -0
    • +39
    /sqf/sql/scripts/reststop
Removed qpid dependency from connectivity

Change-Id: Icaffc13ca8b8e3699dadcebc3e26b1e9796f2507

    • -1
    • +1
    /conn/odbc/src/odbc/nsksrvrcore/Makefile
Enabled statistics

Change-Id: I0e63a0769c258a63c068771af8f606f52a2b10ed

Enabled statistics

Change-Id: I0e63a0769c258a63c068771af8f606f52a2b10ed

Added new property to disable sqlplan for user queries

Changed the property name isolated to statistics

Change-Id: I378270984ef22afc699063341cb30901e19611ab

Added new property to disable sqlplan for user queries

Changed the property name isolated to statistics

Change-Id: I378270984ef22afc699063341cb30901e19611ab

(cherry picked from commit f14119cdcb82d59cb8d83a2af7f7485a13fc5f2b)

Fix for install_local_hadoop bug# 1409189

Added a conditional check to look for existence to trafci/bin

folder

Change-Id: Ie2a90f9df30e9dad335a233ed040594bc23a6f33

    • -3
    • +10
    /sqf/sql/scripts/install_local_hadoop
Modified sqstart script to invoke sqcheck script after dcsstart

Fixed Bug#1408470 - sqstart - sqcheck must be run after dcsstart

This also address the '0' display that was seen for MXOSRVRs

when 'sqcheck' script executed

Change-Id: I0d6709f792124aac087569b5dbecf134c8da2622

Manageability changes in DCS

1) Port mapping

At startup DcsMaster now creates a list of TCP/IP ports based on the

entries in the conf/servers file and writes it to the zookeeper

/<username>/trafodion/dcs/servers/registered znode. Each MXOSRVR reads

the port map list and retrieves its unique port number.

2) Trafodion repository

JDBC type4 is used to access SQL from DcsMaster. The feature is disabled

by default but may be enabled by overriding the unpublished

"dcs.master.trafodion.repository" property with a value of .true. in

your dcs-site.xml file.

3) HA for DcsMaster

A new file, /bin/master-backup.sh, was added that when called from

dcs-start/dcs-stop script look for the presence of optional

/conf/backup-masters file. This feature works like the existing

.servers. in that you can specify hostnames, one per line, e.g.,

.localhost.. The script will start/stop DcsMaster processes on all hosts

defined in the file. The DcsMaster has new leader election code so that

only one DcsMaster process is the .leader.. All others wait, in a

non-herding fashion, for other DcsMasters to fail. The vision is that

the Seaquest .ndcsbind. script may be run prior to starting DCS but

more effort is needed to test this. This commit sets up the

infrastructure. There.s no property for this feature as it.s enabled

only the /conf/backup-masters file exists and has host names defined.

4) Trafodion logs

As a convenience DcsMaster can display the Trafodion log files found in

$MY_SQROOT/logs. There was no requirement for this rather I added for my

development use. Be warned that DcsMaster is not aware of Trafodion

configuration changes so right now it only looks in $MY_SQROOT/logs.

This feature is disabled by default but may be enabled by overriding the

unpublished "dcs.master.trafodion.logs" property with a value of .true.

in your dcs-site.xml file.

5) Basic Security

Provide basic infrastructure to authenticate DcsMaster Web UI users. A

new file /conf/realm.properties was added as a first step. It allows for

definition of users with roles. The embedded Jetty web server reads this

file and uses it to authenticate users attempting to access the

DcsMaster web UI. This feature will surely change over time. It also

supports #3 above as we need username/password for the connection to SQL

in T4 driver. We want users to only see/cancel their own queries. This

feature is disabled by default but may be enabled by overriding the

unpublished "dcs.master.security" property with a value of .true. in

your dcs-site.xml file.

Change-Id: I3e258f698dd828e683f0de03c2fe67c3ce4a5d26

    • -0
    • +86
    /bin/master-backup.sh
  1. … 50 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

    • -0
    • +54
    /conn/odbc/src/odbc/Common/CommonFunctions.cpp
    • -429
    • +0
    /conn/odbc/src/odbc/Common/EventMsgs.cpp
    • -149
    • +0
    /conn/odbc/src/odbc/Common/EventMsgs.h
    • -4
    • +19
    /conn/odbc/src/odbc/Common/Global.h
    • -1
    • +0
    /conn/odbc/src/odbc/Common/Listener.cpp
    • -3
    • +0
    /conn/odbc/src/odbc/Common/ODBCMXTraceMsgs.cpp
    • -2
    • +1
    /conn/odbc/src/odbc/Common/ODBCMXTraceMsgs.h
    • -0
    • +264
    /conn/odbc/src/odbc/Common/PubInterface.cpp
    • -0
    • +77
    /conn/odbc/src/odbc/Common/PubInterface.h
    • -0
    • +258
    /conn/odbc/src/odbc/Common/PubQueryStats.h
    • -706
    • +0
    /conn/odbc/src/odbc/Common/QpidEmsInterface.cpp
    • -236
    • +0
    /conn/odbc/src/odbc/Common/QpidEmsInterface.h
    • -382
    • +0
    /conn/odbc/src/odbc/Common/QpidQueryStats.h
    • -0
    • +3
    /conn/odbc/src/odbc/Common/commonFunctions.h
  1. … 767 more files in changeset.
Set the property in dcs config to disable stats collection in mxosrvr

Change-Id: I59e8b159e8ff347ed5f997d78ae99a4113ecc5ce

Initial wms code drop

    • -0
    • +44
    /bin/scripts/hp_default_service.py
    • -0
    • +130
    /bin/wms-config.sh
    • -0
    • +223
    /bin/wms-daemon.sh
  1. … 171 more files in changeset.
Fixed an issue seen on moonshot servers where the specified network interface or sub-interface are considered during start up of dcs servers

Change-Id: Id5ec4c238b758c9f9280de6ad2c802d00c3b7907