Merge branch 'master' of github.com:apache/trafodion into trafodion_2917_1
Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/8c61fe70 Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/8c61fe70 Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/8c61fe70 Branch: refs/heads/master Commit: 8c61fe707979010debbc8fedb8becf6f754db581 Parents: 99c299b c0a125e Author: selvaganesang <selva.govindara...@esgyn.com> Authored: Sat Jun 23 00:37:23 2018 +0000 Committer: selvaganesang <selva.govindara...@esgyn.com> Committed: Sat Jun 23 00:37:23 2018 +0000 ---------------------------------------------------------------------- .../odbc/src/odbc/nsksrvrcore/srvrothers.cpp | 135 +- core/sqf/commonLogger/CommonLogger.cpp | 3 + core/sqf/conf/log4cxx.monitor.trafns.config | 45 + .../export/include/common/evl_sqlog_eventnum.h | 129 +- core/sqf/export/include/seabed/ms.h | 9 + core/sqf/export/include/trafconf/trafconfig.h | 25 +- core/sqf/monitor/linux/cluster.cxx | 1974 +++++++++++---- core/sqf/monitor/linux/cluster.h | 74 +- core/sqf/monitor/linux/commaccept.cxx | 60 +- core/sqf/monitor/linux/config.cxx | 416 +++- core/sqf/monitor/linux/config.h | 25 +- core/sqf/monitor/linux/device.h | 2 + core/sqf/monitor/linux/healthcheck.cxx | 119 +- core/sqf/monitor/linux/healthcheck.h | 5 + core/sqf/monitor/linux/internal.h | 99 +- core/sqf/monitor/linux/lnode.cxx | 47 +- core/sqf/monitor/linux/lnode.h | 3 +- core/sqf/monitor/linux/localio.h | 7 +- core/sqf/monitor/linux/makefile | 79 +- core/sqf/monitor/linux/meas.cxx | 240 ++ core/sqf/monitor/linux/meas.h | 75 + core/sqf/monitor/linux/mlio.cxx | 28 +- core/sqf/monitor/linux/mlio.h | 2 + core/sqf/monitor/linux/monitor.cxx | 849 +++++-- core/sqf/monitor/linux/monitor.h | 16 + core/sqf/monitor/linux/monlogging.h | 2 + core/sqf/monitor/linux/monmemlog.cxx | 11 + core/sqf/monitor/linux/monsonar.h | 18 + core/sqf/monitor/linux/montrace.cxx | 24 +- core/sqf/monitor/linux/montrace.h | 44 +- core/sqf/monitor/linux/msgdef.h | 159 ++ core/sqf/monitor/linux/nameserver.cxx | 1120 +++++++++ core/sqf/monitor/linux/nameserver.h | 74 + core/sqf/monitor/linux/notice.cxx | 199 +- core/sqf/monitor/linux/notice.h | 7 + core/sqf/monitor/linux/nscluster.cxx | 40 + core/sqf/monitor/linux/nscommaccept.cxx | 28 + core/sqf/monitor/linux/nscommacceptmon.cxx | 907 +++++++ core/sqf/monitor/linux/nscommacceptmon.h | 79 + core/sqf/monitor/linux/nsconfig.cxx | 28 + core/sqf/monitor/linux/nshealthcheck.cxx | 28 + core/sqf/monitor/linux/nslnode.cxx | 28 + core/sqf/monitor/linux/nsmonitor.cxx | 28 + core/sqf/monitor/linux/nsmontrace.cxx | 28 + core/sqf/monitor/linux/nspnode.cxx | 28 + core/sqf/monitor/linux/nsprocess.cxx | 132 + core/sqf/monitor/linux/nsredirector.cxx | 28 + core/sqf/monitor/linux/nsreplicate.cxx | 28 + core/sqf/monitor/linux/nsreqdelproc.cxx | 191 ++ core/sqf/monitor/linux/nsreqnewproc.cxx | 180 ++ core/sqf/monitor/linux/nsreqprocinfo.cxx | 28 + core/sqf/monitor/linux/nsreqprocinfons.cxx | 288 +++ core/sqf/monitor/linux/nsreqqueue.cxx | 129 + core/sqf/monitor/linux/nsreqshutdown.cxx | 110 + core/sqf/monitor/linux/nsreqstart.cxx | 130 + core/sqf/monitor/linux/nsreqstop.cxx | 124 + core/sqf/monitor/linux/nsreqworker.cxx | 28 + core/sqf/monitor/linux/nstype.h | 28 + core/sqf/monitor/linux/pnode.cxx | 737 +++++- core/sqf/monitor/linux/pnode.h | 61 +- core/sqf/monitor/linux/process.cxx | 1495 ++++++++++-- core/sqf/monitor/linux/process.h | 109 +- core/sqf/monitor/linux/pstartd.cxx | 1 + core/sqf/monitor/linux/ptpclient.cxx | 1102 +++++++++ core/sqf/monitor/linux/ptpclient.h | 98 + core/sqf/monitor/linux/ptpcommaccept.cxx | 444 ++++ core/sqf/monitor/linux/ptpcommaccept.h | 62 + core/sqf/monitor/linux/redirector.cxx | 100 +- core/sqf/monitor/linux/redirector.h | 2 + core/sqf/monitor/linux/replicate.cxx | 442 +++- core/sqf/monitor/linux/replicate.h | 75 + core/sqf/monitor/linux/reqdump.cxx | 96 +- core/sqf/monitor/linux/reqevent.cxx | 121 +- core/sqf/monitor/linux/reqget.cxx | 2 +- core/sqf/monitor/linux/reqkill.cxx | 152 +- core/sqf/monitor/linux/reqnewproc.cxx | 71 +- core/sqf/monitor/linux/reqnodeadd.cxx | 3 +- core/sqf/monitor/linux/reqnodedelete.cxx | 2 +- core/sqf/monitor/linux/reqnodename.cxx | 2 +- core/sqf/monitor/linux/reqnotify.cxx | 155 +- core/sqf/monitor/linux/reqnsadd.cxx | 197 ++ core/sqf/monitor/linux/reqnsdelete.cxx | 174 ++ core/sqf/monitor/linux/reqnsstart.cxx | 71 + core/sqf/monitor/linux/reqnsstop.cxx | 71 + core/sqf/monitor/linux/reqopen.cxx | 64 +- core/sqf/monitor/linux/reqprocinfo.cxx | 633 +++-- core/sqf/monitor/linux/reqqueue.cxx | 2306 +++++++++++++++--- core/sqf/monitor/linux/reqqueue.h | 590 ++++- core/sqf/monitor/linux/reqtmleader.cxx | 36 + core/sqf/monitor/linux/reqworker.cxx | 6 +- core/sqf/monitor/linux/shell.cxx | 1524 ++++++++++-- core/sqf/monitor/linux/system.cxx | 2 +- core/sqf/monitor/linux/tmsync.cxx | 29 + core/sqf/monitor/linux/versns.cxx | 30 + core/sqf/monitor/linux/zclient.cxx | 125 +- core/sqf/monitor/linux/zclient.h | 6 + core/sqf/monitor/linux/zootest.cxx | 10 +- core/sqf/monitor/test/Makefile | 6 +- core/sqf/monitor/test/childExitChild.cxx | 1 + core/sqf/monitor/test/childExitParent.cxx | 1 + core/sqf/monitor/test/monitor.env | 61 + core/sqf/monitor/test/montestutil.cxx | 4 +- core/sqf/monitor/test/nameserver.env | 61 + core/sqf/monitor/test/runtest | 258 +- core/sqf/monitor/test/sqconfig.monitor.cluster | 39 - core/sqf/monitor/test/sqconfig.monitor.virtual | 3 + core/sqf/sqenvcom.sh | 30 +- core/sqf/sql/scripts/createConfigDb | 7 + core/sqf/sql/scripts/gensq.pl | 53 + core/sqf/sql/scripts/gomon.cold | 106 +- core/sqf/sql/scripts/monitor.env | 2 + core/sqf/sql/scripts/nameserver.env | 61 + core/sqf/sql/scripts/pstat | 2 +- core/sqf/sql/scripts/sqconfig | 4 + core/sqf/sql/scripts/sqconfig.persist | 12 +- core/sqf/sql/scripts/sqconfig.sample | 17 +- core/sqf/sql/scripts/sqconfigdb.pm | 47 + core/sqf/sql/scripts/sqgen | 211 +- core/sqf/sql/scripts/sqnameserver.pm | 151 ++ core/sqf/sql/scripts/sqnodes.pm | 4 +- core/sqf/sql/scripts/sqpersist.pm | 4 +- core/sqf/sql/scripts/sqstart | 213 +- core/sqf/sql/scripts/sqstop | 36 +- core/sqf/src/seabed/src/labelmaps.cpp | 29 + core/sqf/src/seabed/test/Makefile | 18 +- core/sqf/src/seabed/test/TEST-README.txt | 1 + core/sqf/src/seabed/test/go141 | 3 + core/sqf/src/seabed/test/go17 | 2 +- core/sqf/src/seabed/test/go190 | 3 + core/sqf/src/seabed/test/go20 | 2 +- core/sqf/src/seabed/test/go22 | 4 +- core/sqf/src/seabed/test/go23 | 2 +- core/sqf/src/seabed/test/go286 | 38 + core/sqf/src/seabed/test/go69mon | 2 + core/sqf/src/seabed/test/go83 | 2 +- core/sqf/src/seabed/test/goall | 26 +- core/sqf/src/seabed/test/gocleanport | 2 +- core/sqf/src/seabed/test/godb.pl | 15 + core/sqf/src/seabed/test/gohost | 2 +- core/sqf/src/seabed/test/gosetup | 8 +- core/sqf/src/seabed/test/gosetupcl3 | 5 +- core/sqf/src/seabed/test/goshell | 4 +- core/sqf/src/seabed/test/goshell124 | 4 + core/sqf/src/seabed/test/goshell176 | 4 + core/sqf/src/seabed/test/goshell31 | 6 +- core/sqf/src/seabed/test/goshell31d | 6 +- core/sqf/src/seabed/test/goshell31vc | 6 +- core/sqf/src/seabed/test/goshell49 | 6 +- core/sqf/src/seabed/test/goshell76 | 2 +- core/sqf/src/seabed/test/goshell93 | 2 +- core/sqf/src/seabed/test/goshell96 | 2 +- core/sqf/src/seabed/test/goshelln | 4 + core/sqf/src/seabed/test/t169srv.cpp | 11 +- core/sqf/src/seabed/test/t209ms.cpp | 4 + core/sqf/src/seabed/test/t213fs.cpp | 11 +- core/sqf/src/seabed/test/t226fs.cpp | 4 + core/sqf/src/seabed/test/t228ms.cpp | 23 +- core/sqf/src/seabed/test/t279ms.cpp | 12 +- core/sqf/src/seabed/test/t280fs.cpp | 2 + core/sqf/src/seabed/test/t286ms.cpp | 396 +++ core/sqf/src/seabed/test/tdelta.cpp | 269 ++ core/sqf/src/seabed/test/tmerge.cpp | 322 +++ .../sqf/src/seatrans/tm/hbasetmlib2/testrun.cpp | 2 +- core/sqf/src/trafconf/Makefile | 7 +- core/sqf/src/trafconf/clusterconf.cpp | 47 + core/sqf/src/trafconf/nameserverconfig.cpp | 350 +++ core/sqf/src/trafconf/nameserverconfig.h | 79 + core/sqf/src/trafconf/persistconfig.cpp | 3 + core/sqf/src/trafconf/tcdb.cpp | 44 + core/sqf/src/trafconf/tcdb.h | 4 + core/sqf/src/trafconf/tcdbsqlite.cpp | 340 +++ core/sqf/src/trafconf/tcdbsqlite.h | 4 + core/sqf/src/trafconf/tcdbstore.h | 4 + core/sqf/src/trafconf/tctrace.cpp | 3 +- core/sqf/src/trafconf/tctrace.h | 2 + core/sqf/src/trafconf/trafconf.cpp | 221 +- core/sqf/src/trafconf/trafconfig.cpp | 56 + core/sql/arkcmp/CmpStatement.cpp | 1 - core/sql/arkcmp/CmpStatement.h | 5 - core/sql/cli/Context.cpp | 2 +- core/sql/cli/Statement.cpp | 14 +- core/sql/comexe/ComTdb.cpp | 6 - core/sql/comexe/ComTdb.h | 1 - core/sql/comexe/ComTdbExeUtil.cpp | 149 +- core/sql/comexe/ComTdbExeUtil.h | 156 +- core/sql/common/ComMisc.cpp | 47 + core/sql/common/ComMisc.h | 14 + core/sql/common/OperTypeEnum.h | 1 - core/sql/executor/ExComTdb.cpp | 6 - core/sql/executor/ExExeUtil.h | 202 +- core/sql/executor/ExExeUtilLoad.cpp | 21 +- core/sql/executor/ExExeUtilMisc.cpp | 1156 ++------- core/sql/executor/ex_root.cpp | 4 +- core/sql/executor/hiveHook.cpp | 47 +- core/sql/executor/sql_buffer.cpp | 2 +- core/sql/executor/sql_buffer.h | 4 +- core/sql/exp/ExpErrorEnums.h | 2 - core/sql/exp/ExpSqlTupp.h | 14 +- core/sql/generator/GenExplain.cpp | 58 + core/sql/generator/GenPreCode.cpp | 16 +- core/sql/generator/GenRelExeUtil.cpp | 243 +- core/sql/generator/GenRelScan.cpp | 2 +- core/sql/generator/GenRelUpdate.cpp | 4 +- core/sql/generator/Generator.cpp | 10 +- core/sql/generator/Generator.h | 1 + core/sql/optimizer/BindRelExpr.cpp | 14 +- core/sql/optimizer/ImplRule.h | 64 - core/sql/optimizer/RelCache.cpp | 4 - core/sql/optimizer/RelExeUtil.cpp | 264 +- core/sql/optimizer/RelExeUtil.h | 183 +- core/sql/optimizer/RelExpr.cpp | 36 +- core/sql/optimizer/RelFastTransport.cpp | 75 +- core/sql/optimizer/RelUpdate.h | 15 - core/sql/parser/ElemDDLLikeOptions.cpp | 31 - core/sql/parser/ElemDDLLikeOptions.h | 33 - core/sql/parser/ElemDDLNode.h | 3 - core/sql/parser/ParDDLLikeOpts.cpp | 14 - core/sql/parser/ParDDLLikeOptsCreateTable.h | 1 - core/sql/parser/SqlParserAux.cpp | 8 - core/sql/parser/SqlParserAux.h | 8 - core/sql/parser/StmtDDLCreate.cpp | 4 +- core/sql/parser/StmtDDLCreateTable.h | 20 +- core/sql/parser/StmtDDLonHiveObjects.h | 2 - core/sql/parser/sqlparser.y | 341 +-- core/sql/regress/hive/DIFF008.KNOWN | 2 +- core/sql/regress/hive/EXPECTED005 | 125 +- core/sql/regress/hive/EXPECTED008 | 295 ++- core/sql/regress/hive/FILTER008 | 1 + core/sql/regress/hive/TEST008 | 81 +- core/sql/sqlcomp/CmpDescribe.cpp | 92 - core/sql/sqlcomp/CmpDescribe.h | 8 - core/sql/sqlcomp/CmpSeabaseDDL.h | 5 - core/sql/sqlcomp/CmpSeabaseDDLcommentOn.cpp | 9 +- core/sql/sqlcomp/CmpSeabaseDDLcommon.cpp | 24 + core/sql/sqlcomp/CmpSeabaseDDLtable.cpp | 307 +-- core/sql/sqlcomp/DefaultConstants.h | 22 +- core/sql/sqlcomp/nadefaults.cpp | 7 +- core/sql/sqlcomp/parser.cpp | 18 +- core/sql/sqlcomp/parser.h | 5 + .../org/trafodion/jdbc_test/TestGetColumns.java | 260 ++ .../src/asciidoc/_chapters/sql_statements.adoc | 399 ++- 241 files changed, 23383 insertions(+), 5385 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafodion/blob/8c61fe70/core/sql/comexe/ComTdb.h ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafodion/blob/8c61fe70/core/sql/executor/ExExeUtilLoad.cpp ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafodion/blob/8c61fe70/core/sql/executor/ex_root.cpp ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafodion/blob/8c61fe70/core/sql/generator/GenPreCode.cpp ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafodion/blob/8c61fe70/core/sql/generator/GenRelScan.cpp ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafodion/blob/8c61fe70/core/sql/sqlcomp/DefaultConstants.h ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafodion/blob/8c61fe70/core/sql/sqlcomp/nadefaults.cpp ----------------------------------------------------------------------