trafodion

Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Cleanup WMS POC

    • -538
    • +0
    ./wms/cep/ComplexEventProcessor.java
  1. … 117 more files in changeset.
Move wms into subdir to combine repos

    • -49
    • +0
    ./wms/MasterNotRunningException.java
    • -538
    • +0
    ./wms/cep/ComplexEventProcessor.java
  1. … 357 more files in changeset.
Move dcs into subdir to combine repos

    • -154
    • +0
    ./dcs/master/MasterLeaderElection.java
    • -79
    • +0
    ./dcs/master/MasterStatusServlet.java
    • -596
    • +0
    ./dcs/master/QueryPlanModel.java
    • -35
    • +0
    ./dcs/master/QueryPlanResponse.java
    • -147
    • +0
    ./dcs/master/RegisteredServer.java
  1. … 560 more files in changeset.
Move dcs into subdir to combine repos

    • -177
    • +0
    ./dcs/master/MasterLeaderElection.java
    • -79
    • +0
    ./dcs/master/MasterStatusServlet.java
    • -596
    • +0
    ./dcs/master/QueryPlanModel.java
    • -35
    • +0
    ./dcs/master/QueryPlanResponse.java
    • -147
    • +0
    ./dcs/master/RegisteredServer.java
  1. … 468 more files in changeset.
Move dcs into subdir to combine repos

    • -154
    • +0
    ./dcs/master/MasterLeaderElection.java
    • -79
    • +0
    ./dcs/master/MasterStatusServlet.java
    • -596
    • +0
    ./dcs/master/QueryPlanModel.java
    • -35
    • +0
    ./dcs/master/QueryPlanResponse.java
    • -147
    • +0
    ./dcs/master/RegisteredServer.java
  1. … 562 more files in changeset.
Add jdbcT2 driver trace properties

The jdbct2 driver properties traceFile and traceFlag may now be

set from DCS configuration for multithreaded DcsServer class.

The 2 new propertie are t2.driver.trace.file and t2.driver.trace.flag.

The default DcsServer .log file is used for traceFile and traceFlag

default to 0 or no tracing.

Change-Id: I7ce042bb1f8d27fb802f1a4950447f77defa0359

    • -124
    • +228
    ./dcs/servermt/serverSql/TrafConnection.java
MT Server - added catalog functions

Added following catalog functions:

getTables(catalog, schema, table, tpList)

getTableTypes()

getCatalogs()

getSchemas()

getColumns(catalog, schema, table, column)

getTablePrivileges(catalog, schema, table)

getColumnPrivileges(catalog, schema, table, column)

getBestRowIdentifier(catalog, schema, table, rowIdScope, nullable)

getVersionColumns(catalog, schema, table)

getProcedures(catalog, schema, table)

getProcedureColumns(catalog, schema, table, column)

getPrimaryKeys(catalog, schema, table)

getExportedKeys(catalog, schema, table)

getImportedKeys(fkCatalog, fkSchema, fkTable)

getTypeInfo()

getIndexInfo(catalog, schema, table, uniqueness, true)

This has the DCS change for stat publication (1685)

Change-Id: I9657564f8bf9f295855eaf22ade8cd85c2e6ba39

    • -0
    • +35
    ./dcs/servermt/ServerConstants.java
    • -0
    • +498
    ./dcs/servermt/serverHandler/ServerApiGetCatalogs.java
Add info messages when DcsServer is waiting for DcsManager znode

Closes Bug #1443597

Change-Id: I39c83591ab52a2a2c3795e068122c1df52ce3d4a

  1. … 1 more file in changeset.
some MT Servers do not return back to AVAILABLE

Fixed synchronization between Listener and Worker Threads

Change-Id: I9929a2713b262a265556c8e1d2930642ba22bebd

LP 1442730 Eliminating SQL Cancel for PUBLISHING Queries

DCSMaster checks if OID ends with text "_PUBLISHING" and if yes, ignores

SQL Cancel

Patch #1

Fixed reported problems

Change-Id: I4b913517f5cbb20bfca203c6f9bfa9fa9abd5047

Fix for bug 1443561

SQL plan collection enabled by default now.

Fixes bug 1443561

Change-Id: Ibc9cb9e41d37a384a6f0bf4cb34c625ea0a98dd7

Fix for bug 1443561

SQL plan collection enabled by default now.

Fixes bug 1443561

Change-Id: Ibc9cb9e41d37a384a6f0bf4cb34c625ea0a98dd7

Removed check for period in FQDN

When property dcs.dns.interface is specified some systems return

only the short DNS name. DCS assume that returned name always

contains at least one "." This caused a null value to be inserted

into zookeeper nodes for the hostname.

closes bug: #1442402

Change-Id: Idb9abd3c63bba1293adb4797902f7128e3c3f07c

    • -8
    • +5
    ./dcs/util/DcsNetworkConfiguration.java
Updated floating IP documentation

Added addtional text in architecture and configuration.

Fixed some nits from last code review

Change-Id: I2183f76a61034c08ab377b53e9f3e3a790b2d5fb

    • -2
    • +3
    ./dcs/util/DcsNetworkConfiguration.java
  1. … 2 more files in changeset.
Added floating IP feature

DcsMaster backups are configured in the conf/backup-masters file.

Whenever a backup takes over it now executes the bin/scripts/dcsbind.sh

script to move the floating IP to its own node. There are 3 new

properties necessary. They are:

dcs.master.floating.ip

Disabled by default. This property is used to enable/disable the

the floating IP feature.

dcs.master.floating.ip.external.interface

There is no default. The user must specify the network interface

to use for floating ip.

dcs.master.floating.ip.external.ip.address

There is no default. The user must specify the dotted IP

address to use for floating ip.

Patch set #2

removed hostname from backup-masters file

cleaned up trailing spaces

Patch set #3

updated copyrights

Change-Id: Ib9f9aa618716a0424c2dd160e5dc819c6c1a33eb

    • -210
    • +262
    ./dcs/master/DcsMaster.java
    • -0
    • +121
    ./dcs/master/FloatingIp.java
    • -114
    • +91
    ./dcs/master/MasterLeaderElection.java
    • -585
    • +696
    ./dcs/master/ServerManager.java
    • -37
    • +64
    ./dcs/util/DcsNetworkConfiguration.java
  1. … 7 more files in changeset.
Fixed query cancel sent by ODBC Driver

If Sql Cancel is sent by JDBC Driver, srvrObjRef has only portNumber.

When the request is sent by ODBC Driver, its format is following:

"TCP:IpAddress/PortNumber:ODBC".

To get the portNumber we have to parse srvrObjRef string

===============================

Replaced ip Address by <IpAddress> and port number by <portNumber>

Change-Id: Ic839bee2be44e9ca88fa2f8cd2cb1a72ff5ef994

Fixes in serverMT

1. In pom.xml changed jdbct2 version to 1.1.0 and

repository to org.trafodion.jdbc.t2.T2Driver

2. Changed processing of server state to make connect/disconnect process

more robust

3. Cleanup code

4. Fixed problem with connecting timeout

5. Added to Sql Connection two options: ENFORCE_ISO88591 and

DOWNLOAD_CERTIFICATE

============================================

Patch

1. Changed pom.xml back to previous T2 dev repository and version

20150329_0830

Change-Id: I5ca6f2055d1e6fd81b4f65e8d5e6b26df9fe308e

  1. … 1 more file in changeset.
partialy fix for query cancel

1. prepared DcsMaster for accepting request sent by T4 Driver to cancel

the query

2. Cleanup the code. Changing tabs to spaces.

3. Added processing unknown requests.

===============================================

Patch

1. To servermt added processing EndTransaction

2. To Master Listener added processing requests in LITTLE_ENDIAN

3. To servermt added fix for Logging

4. Fixed Exception message in RequestCancelQuery

5. In servermt fixed bugs reported in Phoenix Test.

===================================================

Patch

1. Fixed wrong text exception

2. Added checking if LOG is on

3. Removed listing LOG properties

4. Fixed precision for TIME and TIMESTAMP

5. Changed TYPE_EXPLAIN to return result set

6. Changed in SqlFetch process EOD

7. To SqlPrepare added more LOG info

8. Changed TConnection/TStatement closing

================================================

Patch

1. added query cancel procedure.

2. to pom.xml changed hadoop version to 2.5.0-cdh5.3.0 to make T2 driver

work

3. to servermt added SqlClose Api

4. fixed more problems in servermt

================================================

Patch

1. in pom.xml changed hadoop version to 2.6.0 and removed cloudera

repository.

2. fixed connecting timeout.

3. added connecting server state.

4. cleanup debug log messages.

5. restored in ClientData accidently deleted code.

================================================

Patch

1. fixed TAB-SPAC issues

===============================================

Patch

Fixed issues reported in code review

Change-Id: Ifd0b7835c87dbf84d5ea0dde05219a0651f19a74

    • -40
    • +52
    ./dcs/master/listener/ClientData.java
    • -257
    • +262
    ./dcs/master/listener/ConnectReply.java
    • -338
    • +357
    ./dcs/master/listener/ListenerService.java
    • -123
    • +84
    ./dcs/master/listener/ListenerWorker.java
    • -0
    • +254
    ./dcs/master/listener/RequestCancelQuery.java
    • -0
    • +128
    ./dcs/master/listener/RequestGetObjectRef.java
    • -0
    • +87
    ./dcs/master/listener/RequestUnknown.java
    • -10
    • +17
    ./dcs/servermt/ServerConstants.java
  1. … 12 more files in changeset.
Convert DSC documentation from docbooks to asciidoc

Docbooks was very difficult for contributors to easily add

updates. More time was spent fixing xml tags than writing

the needed documentation. Asciidoc while very feature rich in

its tag set is much much easier to learn.

Change-Id: Ib23ba6c11c8b0f13023119e181ea16efddd07ac6

    • -475
    • +491
    ./dcs/rest/model/ServerModel.java
  1. … 34 more files in changeset.
DcsServer checks if Trafodion is running before mxosrvr restart

DcsServer aggresively tried to restart its child mxosrvrs.

In scenarios where Trafodion had been stopped abruptly e.g.,

when "ckillall" command was executed, it would cause many

mxosrvr processes to start then quickly die. This change

adds check to ensure that Trafodion is running before ever

attempting a restart of any mxosrvr.

Change-Id: If430ce94e6071e402786d73d544d2ab23306d1fe

Closes-Bug: #1411475

    • -399
    • +490
    ./dcs/server/ServerManager.java
  1. … 1 more file in changeset.
Logging for JdbcT2 driver now directed to DCS log

A companion commit to bug/1419112. DCS log4j.properties now used

when calling Trafodion HBaseClient.

See bug 1419112

Change-Id: Ic160d7307f938e12150bbf9c30f2272bd604f415

    • -0
    • +97
    ./dcs/util/Log4jUtils.java
  1. … 1 more file in changeset.
Enabled statistics

Change-Id: I0e63a0769c258a63c068771af8f606f52a2b10ed

  1. … 1 more file in changeset.
Enabled statistics

Change-Id: I0e63a0769c258a63c068771af8f606f52a2b10ed

  1. … 1 more file in changeset.
added new DCS Serverna

fixed reported issues:

1. copyright 2015

2. changed tabs to spaces

3. versioning in T2Driver

4. Added detailed description

fixed reported issues.

changed the name of Dcs Serverna to new name Dcs Servermt

changed System.out.println to LOG.debug

changed serverna to servermt in jamon

added property dcs.server.handlers.threads.max. This

property limits number of threads created by Dcs Server.

Default value is 10.

Fixed error in dcs

fixed description of the property

cleanup the code

changed system.out.println to LOG

Change-Id: Ib5b47a5c09171ddd1b1f062fe8e7b26bf31779bd

    • -1
    • +1
    ./dcs/master/MasterLeaderElection.java
    • -0
    • +248
    ./dcs/servermt/DcsServer.java
    • -0
    • +70
    ./dcs/servermt/Metrics.java
    • -0
    • +349
    ./dcs/servermt/ServerConstants.java
    • -0
    • +328
    ./dcs/servermt/ServerManager.java
    • -0
    • +47
    ./dcs/servermt/ServerStatusServlet.java
    • -0
    • +456
    ./dcs/servermt/ServerUtils.java
  1. … 45 more files in changeset.
Added new property to disable sqlplan for user queries

Changed the property name isolated to statistics

Change-Id: I378270984ef22afc699063341cb30901e19611ab

  1. … 1 more file in changeset.
Added new property to disable sqlplan for user queries

Changed the property name isolated to statistics

Change-Id: I378270984ef22afc699063341cb30901e19611ab

(cherry picked from commit f14119cdcb82d59cb8d83a2af7f7485a13fc5f2b)

  1. … 1 more file in changeset.
Disabled statistics, updated documentation & copyright notices.

Change-Id: I5bd92fa3a65007be792f7e97f2d66cc90b443823

  1. … 17 more files in changeset.
Enable repository status by default closes bug: 1413382

Change-Id: Idd1433657c8dfec66ad066ec5914f6daa3e7fcb9

  1. … 1 more file in changeset.
Fixed issue with Trafodion query tools connection pool

Added more error checking to handle errors

Change-Id: I9c66c03cb45643b15602afb91f05c2d78c7d5b55

  1. … 6 more files in changeset.
Trafodion repository fixes

Ability to query 3 repository tables and visual query plan.

Change-Id: Iedfb3c879d6d7f2c1c0a66472a9ae28ad7d64eb9

    • -0
    • +584
    ./dcs/master/QueryPlanModel.java
    • -0
    • +35
    ./dcs/master/QueryPlanResponse.java
    • -0
    • +239
    ./dcs/serverna/DcsServer.java
    • -0
    • +70
    ./dcs/serverna/Metrics.java
    • -0
    • +449
    ./dcs/serverna/ServerManager.java
    • -0
    • +47
    ./dcs/serverna/ServerStatusServlet.java
  1. … 90 more files in changeset.