[ 
https://issues.apache.org/jira/browse/TRAFODION-863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721172#comment-14721172
 ] 

Suresh Subbiah commented on TRAFODION-863:
------------------------------------------

Chris Tjepkema (chris-tjepkema) on 2015-01-08
Changed in trafodion:
importance:     Undecided → Critical
Anoop Sharma (anoop-sharma) on 2015-01-08
Changed in trafodion:
assignee:       nobody → Anoop Sharma (anoop-sharma)
Anoop Sharma (anoop-sharma) on 2015-01-08
Changed in trafodion:
status: New → In Progress
Anoop Sharma (anoop-sharma) on 2015-01-13
Changed in trafodion:
status: In Progress → Fix Committed
See full activity log


> LP Bug: 1408504 - after upgrade attempt -get schemas gets core
> --------------------------------------------------------------
>
>                 Key: TRAFODION-863
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-863
>             Project: Apache Trafodion
>          Issue Type: Bug
>            Reporter: Chris Tjepkema
>            Assignee: Anoop Sharma
>            Priority: Blocker
>
> I installed the October Trafodion. Dropped the new and recreated the old 
> metadata.
> And loaded today’s build.
> It is not telling me to upgrade.
> It just dumps core on get schemas and get tables.
> used build:
> trafodion-20150107_0830.tar.gz
> previous build
> trafodion-20141008_0830.tar.gz
> sqlci
> Trafodion Conversational Interface 0.9.1
> (c) Copyright 2014 Hewlett-Packard Development Company, LP.
> >>get schemas;
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  SIGSEGV (0xb) at pc=0x000000326e2838a0, pid=27467, tid=140269092255744
> #
> # JRE version: OpenJDK Runtime Environment (7.0_71-b14) (build 
> 1.7.0_71-mockbuild_2014_12_18_14_23-b00)
> # Java VM: OpenJDK 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 
> compressed oops)
> # Derivative: IcedTea 2.5.3
> # Distribution: Built on CentOS release 6.6 (Final) (Thu Dec 18 14:23:06 UTC 
> 2014)
> # Problematic frame:
> # C  [libc.so.6+0x838a0]  memmove+0xa0
> #
> # Core dump written. Default location: /home/trafodion/core or core.27467
> #
> # An error report file with more information is saved as:
> # /tmp/jvm-27467/hs_error.log
> #
> # If you would like to submit a bug report, please include
> # instructions on how to reproduce the bug and visit:
> #   http://icedtea.classpath.org/bugzilla
> # The crash happened outside the Java Virtual Machine in native code.
> # See problematic frame for where to report the bug.
> #
> Aborted (core dumped)
> [trafodion@getafix-1 ~]$ sqlci
> Trafodion Conversational Interface 0.9.1
> (c) Copyright 2014 Hewlett-Packard Development Company, LP.
> >>get tables;
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  SIGSEGV (0xb) at pc=0x000000326e2838a0, pid=27751, tid=140518516099072
> #
> # JRE version: OpenJDK Runtime Environment (7.0_71-b14) (build 
> 1.7.0_71-mockbuild_2014_12_18_14_23-b00)
> # Java VM: OpenJDK 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 
> compressed oops)
> # Derivative: IcedTea 2.5.3
> # Distribution: Built on CentOS release 6.6 (Final) (Thu Dec 18 14:23:06 UTC 
> 2014)
> # Problematic frame:
> # C  [libc.so.6+0x838a0]  memmove+0xa0
> #
> # Core dump written. Default location: /home/trafodion/core or core.27751
> #
> # An error report file with more information is saved as:
> # /tmp/jvm-27751/hs_error.log
> #
> # If you would like to submit a bug report, please include
> # instructions on how to reproduce the bug and visit:
> #   http://icedtea.classpath.org/bugzilla
> # The crash happened outside the Java Virtual Machine in native code.
> # See problematic frame for where to report the bug.
> #
> Aborted (core dumped)
> [trafodion@getafix-1 ~]$ file core.27467
> core.27467: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, 
> from 'sqlci'
> Core was generated by `sqlci'.
> Program terminated with signal 6, Aborted.
> #0  0x000000326e232625 in raise () from /lib64/libc.so.6
> Missing separate debuginfos, use: debuginfo-install 
> cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64 glibc-2.12-1.149.el6.x86_64 
> hadoop-2.4.0.2.1.7.0-784.el6.x86_64 
> java-1.7.0-openjdk-1.7.0.71-2.5.3.2.el6_6.x86_64 
> keyutils-libs-1.4-5.el6.x86_64 krb5-libs-1.10.3-33.el6.x86_64 
> libcom_err-1.41.12-21.el6.x86_64 libgcc-4.4.7-11.el6.x86_64 
> libselinux-2.0.94-5.8.el6.x86_64 libstdc++-4.4.7-11.el6.x86_64 
> nspr-4.10.6-1.el6_5.x86_64 nss-3.16.2.3-3.el6_6.x86_64 
> nss-softokn-freebl-3.14.3-17.el6.x86_64 nss-util-3.16.2.3-2.el6_6.x86_64 
> openldap-2.4.23-26.el6_3.2.x86_64 openssl-1.0.1e-16.el6_5.15.x86_64 
> zlib-1.2.3-29.el6.x86_64
> (gdb) bt
> #0  0x000000326e232625 in raise () from /lib64/libc.so.6
> #1  0x000000326e233d8d in abort () from /lib64/libc.so.6
> #2  0x00007f92fa61b6c5 in ?? () from 
> /usr/lib/jvm/java/jre/lib/amd64/server/libjvm.so
> #3  0x00007f92fa78d1cf in ?? () from 
> /usr/lib/jvm/java/jre/lib/amd64/server/libjvm.so
> #4  0x00007f92fa620af2 in JVM_handle_linux_signal ()
>    from /usr/lib/jvm/java/jre/lib/amd64/server/libjvm.so
> #5  <signal handler called>
> #6  0x000000326e2838a0 in memmove () from /lib64/libc.so.6
> #7  0x00007f92f818c921 in str_cpy_all (this=0x7f92ecc61570) at 
> ../common/str.h:274
> #8  ExHbaseAccessTcb::createSQRowFromHbaseFormat (this=0x7f92ecc61570)
>     at ../executor/ExHbaseAccess.cpp:1129
> #9  0x00007f92f818cb86 in ExHbaseAccessTcb::createSQRowDirect (this=<value 
> optimized out>)
>     at ../executor/ExHbaseAccess.cpp:991
> #10 0x00007f92f8195ec5 in ExHbaseGetSQTaskTcb::work (this=0x7f92ecc44130, 
> rc=@0x7fff71beedce)
>     at ../executor/ExHbaseSelect.cpp:1111
> #11 0x00007f92f819721e in ExHbaseAccessSelectTcb::work (this=0x7f92ecc61570)
>     at ../executor/ExHbaseSelect.cpp:1398
> #12 0x00007f92f81bc533 in ExScheduler::work (this=0x7f92ecc611b0,
>     prevWaitTime=<value optimized out>) at ../executor/ExScheduler.cpp:328
> #13 0x00007f92f80ea462 in ex_root_tcb::execute (this=0x7f92ecc645f8, 
> cliGlobals=0x190d940, glob=
>     0x7f92ecc42658, input_desc=0x7f92ecc6e3f0, diagsArea=@0x7fff71bf04e0, 
> reExecute=0)
>     at ../executor/ex_root.cpp:1055
> #14 0x00007f92f94f9674 in CliStatement::execute (this=0x7f92ecc4bdc8, 
> cliGlobals=0x190d940,
>     input_desc=0x7f92ecc6e3f0, diagsArea=<value optimized out>,
>     execute_state=<value optimized out>, fixupOnly=0, cliflags=0) at 
> ../cli/Statement.cpp:4812
> #15 0x00007f92f94a1e4a in SQLCLI_PerformTasks(CliGlobals *, ULng32, 
> SQLSTMT_ID *, SQLDESC_ID *, SQLDESC_ID *, Lng32, Lng32, typedef __va_list_tag 
> __va_list_tag *, SQLCLI_PTR_PAIRS *, SQLCLI_PTR_PAIRS *) 
> (cliGlobals=0x190d940, tasks=4882, statement_id=0x7f92da3d1390, 
> input_descriptor=0x7f92da3d1400,
>     output_descriptor=0x0, num_input_ptr_pairs=0, num_output_ptr_pairs=0, 
> ap=0x7fff71bf0680,
>     input_ptr_pairs=0x0, output_ptr_pairs=0x0) at ../cli/Cli.cpp:3284
> #16 0x00007f92f94a2b72 in SQLCLI_Exec(CliGlobals *, SQLSTMT_ID *, SQLDESC_ID 
> *, Lng32, typedef __va_list_tag __va_list_tag *, SQLCLI_PTR_PAIRS *) 
> (cliGlobals=<value optimized out>,
>     statement_id=<value optimized out>, input_descriptor=<value optimized 
> out>,
>     num_ptr_pairs=<value optimized out>, ap=<value optimized out>, 
> ptr_pairs=<value optimized out>)
>     at ../cli/Cli.cpp:3531
> #17 0x00007f92f950822a in SQL_EXEC_Exec (statement_id=0x7f92da3d1390,
>     input_descriptor=0x7f92da3d1400, num_ptr_pairs=0) at 
> ../cli/CliExtern.cpp:2071
> #18 0x00007f92f8152241 in ExeCliInterface::exec (this=0x7fff71bf1990,
>     inputBuf=<value optimized out>, inputBufLen=<value optimized out>)
>     at ../executor/ExExeUtilCli.cpp:599
> #19 0x00007f92f815834a in ExeCliInterface::clearExecFetchClose 
> (this=0x7fff71bf1990, inputBuf=0x0,
>     inputBufLen=<value optimized out>, outputBuf=0x0, outputBufLen=0x0)
>     at ../executor/ExExeUtilCli.cpp:1212
> #20 0x00007f92f45d09f5 in CmpSeabaseDDL::getObjectUIDandOwners 
> (this=0x7fff71bf1b30,
>     cliInterface=0x7fff71bf1990, catName=0x7fff71bf1db8 "TRAFODION", 
> schName=<value optimized out>,
>     objName=0x7f92da3c4250 "OBJECTS", objectType=<value optimized out>,
>     objectOwner=@0x7fff71bf1a8c, schemaOwner=@0x7fff71bf1a88, 
> reportErrorNow=true)
>     at ../sqlcomp/CmpSeabaseDDLcommon.cpp:2752
> #21 0x00007f92f4621768 in CmpSeabaseDDL::getSpecialTableInfo 
> (this=0x7fff71bf1b30, heap=
>     0x7f92ecc2ac08, catName=..., schName=..., objName=..., extTableName=...,
>     objType=@0x7fff71bf1e40, tableInfo=@0x7fff71bf20b8) at 
> ../sqlcomp/CmpSeabaseDDLtable.cpp:6110
> #22 0x00007f92f45d3cd8 in CmpSeabaseDDL::getMDtableInfo (objName=..., 
> tableInfo=@0x7fff71bf20b8,
>     colInfoSize=@0x7fff71bf20cc, colInfo=@0x7fff71bf20b0, 
> keyInfoSize=@0x7fff71bf20c8,
>     keyInfo=@0x7fff71bf20a8, indexInfoSize=@0x7fff71bf20c4, 
> indexInfo=@0x7fff71bf20a0,
>     objType=COM_BASE_TABLE_OBJECT) at ../sqlcomp/CmpSeabaseDDLcommon.cpp:237
> #23 0x00007f92f4629454 in CmpSeabaseDDL::getSeabaseMDTableDesc (this=<value 
> optimized out>,
>     catName=..., schName=<value optimized out>, objName=..., 
> objType=COM_BASE_TABLE_OBJECT)
>     at ../sqlcomp/CmpSeabaseDDLtable.cpp:6163
> #24 0x00007f92f4644b7e in CmpSeabaseDDL::getSeabaseTableDesc 
> (this=0x7fff71bf2250, catName=...,
>     schName=..., objName=..., objType=COM_BASE_TABLE_OBJECT, 
> includeInvalidDefs=0)
>     at ../sqlcomp/CmpSeabaseDDLtable.cpp:7365
> #25 0x00007f92f2f60607 in NATableDB::get (this=0x7f92ec0996b8, corrName=..., 
> bindWA=0x7fff71bf4a90,
>     inTableDescStruct=0x0) at ../optimizer/NATable.cpp:7966
> #26 0x00007f92f2cbecca in BindWA::getNATable (this=0x7fff71bf4a90, 
> corrName=...,
>     catmanCollectTableUsages=1, inTableDescStruct=0x0) at 
> ../optimizer/BindRelExpr.cpp:1445
> #27 0x00007f92f2cef45e in Scan::bindNode (this=0x7f92da3c3eb8, 
> bindWA=0x7fff71bf4a90)
>     at ../optimizer/BindRelExpr.cpp:7269
> #28 0x00007f92f2caf1c7 in RelExpr::bindChildren (this=0x7f92da3c8a08, 
> bindWA=0x7fff71bf4a90)
>     at ../optimizer/BindRelExpr.cpp:2180
> ---Type <return> to continue, or q <return> to quit---
> #29 0x00007f92f2ceab8e in RelRoot::bindNode (this=0x7f92da3c8a08, 
> bindWA=0x7fff71bf4a90)
>     at ../optimizer/BindRelExpr.cpp:5225
> #30 0x00007f92f45b64ae in CmpMain::compile (this=0x7fff71bf7540,
>     input_str=0x7f92da414a80 "select schema_name from 
> TRAFODION.\"_MD_\".OBJECTS where catalog_name = 'TRAFODION' and (object_type 
> = 'PS' or object_type = 'SS') for read uncommitted access order by 1 ;", 
> charset=15, queryExpr=@0x7fff71bf7478, gen_code=0x7f92da415760, 
> gen_code_len=0x7f92da415758,
>     heap=0x7f92ecc2ac08, phase=CmpMain::END, fragmentDir=0x7fff71bf7698, 
> op=3004, useQueryCache=1,
>     cacheable=0x7fff71bf7488, begTime=0x7fff71bf7460, shouldLog=0) at 
> ../sqlcomp/CmpMain.cpp:2119
> #31 0x00007f92f45b92bc in CmpMain::sqlcomp (this=0x7fff71bf7540,
>     input_str=0x7f92da414a80 "select schema_name from 
> TRAFODION.\"_MD_\".OBJECTS where catalog_name = 'TRAFODION' and (object_type 
> = 'PS' or object_type = 'SS') for read uncommitted access order by 1 ;", 
> charset=15, queryExpr=@0x7fff71bf7478, gen_code=0x7f92da415760, 
> gen_code_len=0x7f92da415758,
>     heap=0x7f92ecc2ac08, phase=CmpMain::END, fragmentDir=0x7fff71bf7698, 
> op=3004, useQueryCache=1,
>     cacheable=0x7fff71bf7488, begTime=0x7fff71bf7460, shouldLog=0) at 
> ../sqlcomp/CmpMain.cpp:1732
> #32 0x00007f92f45ba5c0 in CmpMain::sqlcomp (this=0x7fff71bf7540, input=...,
>     gen_code=0x7f92da415760, gen_code_len=0x7f92da415758, 
> heap=0x7f92ecc2ac08, phase=CmpMain::END,
>     fragmentDir=0x7fff71bf7698, op=3004) at ../sqlcomp/CmpMain.cpp:817
> #33 0x00007f92f8b18288 in CmpStatement::process (this=0x7f92da3b9808, 
> sqltext=<value optimized out>)
>     at ../arkcmp/CmpStatement.cpp:508
> #34 0x00007f92f8b0b713 in CmpContext::compileDirect (this=0x7f92ec094090,
>     data=0x7f92ecc4a660 "\200", data_len=304, outHeap=0x7f92ed69a128, 
> charset=15,
>     op=CmpMessageObj::SQLTEXT_COMPILE, gen_code=@0x7fff71bf7c20, 
> gen_code_len=@0x7fff71bf7c28,
>     parserFlags=131072, diagsArea=0x7f92ecc4a798) at 
> ../arkcmp/CmpContext.cpp:697
> #35 0x00007f92f94f7e17 in CliStatement::prepare2 (this=0x7f92ecc4ccf8,
>     source=0x7f92ecc60fb0 "select schema_name from TRAFODION.\"_MD_\".OBJECTS 
> where catalog_name = 'TRAFODION' and (object_type = 'PS' or object_type = 
> 'SS') for read uncommitted access order by 1 ; ", diagsArea=..., 
> passed_gen_code=<value optimized out>, passed_gen_code_len=3983122728, 
> charset=15,
>     unpackTdbs=1, cliFlags=144) at ../cli/Statement.cpp:1827
> #36 0x00007f92f94f8266 in CliStatement::prepare (this=0x7f92ecc4ccf8,
>     source=0x7f92ecc60fb0 "select schema_name from TRAFODION.\"_MD_\".OBJECTS 
> where catalog_name = 'TRAFODION' and (object_type = 'PS' or object_type = 
> 'SS') for read uncommitted access order by 1 ; ", diagsArea=..., 
> passed_gen_code=<value optimized out>, passed_gen_code_len=<value optimized 
> out>,
>     charset=<value optimized out>, unpackTdbs=1, cliFlags=144) at 
> ../cli/Statement.cpp:1420
> #37 0x00007f92f94a76b4 in SQLCLI_Prepare2 (cliGlobals=0x190d940, 
> statement_id=0x7f92ecc3b4c0,
>     sql_source=0x7f92ecc3b4f8, gencode_ptr=0x0, gencode_len=0, 
> ret_gencode_len=0x0,
>     query_cost_info=0x7fff71bf8ff0, query_comp_stats_info=0x7fff71bf7ef0,
>     uniqueStmtId=<value optimized out>, uniqueStmtIdLen=0x0, flags=128) at 
> ../cli/Cli.cpp:5914
> #38 0x00007f92f9505c20 in SQL_EXEC_Prepare2 (statement_id=0x7f92ecc3b4c0,
>     sql_source=0x7f92ecc3b4f8, gencode_ptr=0x0, gencode_len=0, 
> ret_gencode_len=0x0,
>     query_cost_info=0x7fff71bf8ff0, comp_stats_info=0x7fff71bf7ef0, 
> uniqueStmtId=0x0,
>     uniqueStmtIdLen=0x0, flags=128) at ../cli/CliExtern.cpp:4985
> #39 0x00007f92f815267b in ExeCliInterface::prepare (this=0x7f92ecc39f70,
>     stmtStr=<value optimized out>, module=<value optimized out>, 
> stmt=0x7f92ecc3b4c0,
>     sql_src=0x7f92ecc3b4f8, input_desc=0x7f92ecc3b530, 
> output_desc=0x7f92ecc3b568,
>     outputBuf=0x7f92ecc39fa8, outputVarPtrList=0x0, inputBuf=0x7f92ecc39fe0, 
> inputVarPtrList=0x0,
>     uniqueStmtId=0x0, uniqueStmtIdLen=0x0, query_cost_info=0x0, 
> comp_stats_info=0x0, monitorThis=0)
>     at ../executor/ExExeUtilCli.cpp:321
> #40 0x00007f92f815407a in ExeCliInterface::fetchRowsPrologue 
> (this=0x7f92ecc39f70,
>     sqlStrBuf=0x7f92ecc3c0b0 "select schema_name from 
> TRAFODION.\"_MD_\".OBJECTS where catalog_name = 'TRAFODION' and (object_type 
> = 'PS' or object_type = 'SS') for read uncommitted access order by 1 ; ", 
> noExec=0, monitorThis=0, stmtName=0x0) at ../executor/ExExeUtilCli.cpp:1031
> #41 0x00007f92f8157d96 in ExeCliInterface::fetchAllRows (this=0x7f92ecc39f70,
>     infoList=@0x7f92ecc2ef20,
>     query=0x7f92ecc3c0b0 "select schema_name from TRAFODION.\"_MD_\".OBJECTS 
> where catalog_name = 'TRAFODION' and (object_type = 'PS' or object_type = 
> 'SS') for read uncommitted access order by 1 ; ",
>     inNumOutputEntries=1, varcharFormat=0, monitorThis=<value optimized out>, 
> initInfoList=0)
>     at ../executor/ExExeUtilCli.cpp:1114
> #42 0x00007f92f815d918 in ExExeUtilTcb::fetchAllRows (this=0x7f92ecc2ee88,
>     infoList=<value optimized out>, query=<value optimized out>,
>     numOutputEntries=<value optimized out>, varcharFormat=<value optimized 
> out>,
>     rc=@0x7fff71bfa22c, monitorThis=0) at ../executor/ExExeUtilCommon.cpp:527
> #43 0x00007f92f817bdcd in ExExeUtilGetMetadataInfoTcb::work 
> (this=0x7f92ecc2ee88)
>     at ../executor/ExExeUtilGet.cpp:2066
> #44 0x00007f92f81bc533 in ExScheduler::work (this=0x7f92ecc2e9f0,
>     prevWaitTime=<value optimized out>) at ../executor/ExScheduler.cpp:328
> #45 0x00007f92f80ea462 in ex_root_tcb::execute (this=0x7f92ecc579c8, 
> cliGlobals=0x190d940,
>     glob=0x7f92ecc39938, input_desc=0x7f92ecc4f7a0, 
> diagsArea=@0x7fff71bfb950, reExecute=0)
>     at ../executor/ex_root.cpp:1055
> #46 0x00007f92f94f9674 in CliStatement::execute (this=0x7f92ecc1ebd0, 
> cliGlobals=0x190d940,
> ---Type <return> to continue, or q <return> to quit---
>     input_desc=0x7f92ecc4f7a0, diagsArea=<value optimized out>,
>     execute_state=<value optimized out>, fixupOnly=0, cliflags=0) at 
> ../cli/Statement.cpp:4812
> #47 0x00007f92f94a1e4a in SQLCLI_PerformTasks(CliGlobals *, ULng32, 
> SQLSTMT_ID *, SQLDESC_ID *, SQLDESC_ID *, Lng32, Lng32, typedef __va_list_tag 
> __va_list_tag *, SQLCLI_PTR_PAIRS *, SQLCLI_PTR_PAIRS *) 
> (cliGlobals=0x190d940, tasks=4882, statement_id=0x2d3e9b0, 
> input_descriptor=0x2d3a330,
>     output_descriptor=0x0, num_input_ptr_pairs=0, num_output_ptr_pairs=0, 
> ap=0x7fff71bfbaf0,
>     input_ptr_pairs=0x0, output_ptr_pairs=0x0) at ../cli/Cli.cpp:3284
> #48 0x00007f92f94a2b72 in SQLCLI_Exec(CliGlobals *, SQLSTMT_ID *, SQLDESC_ID 
> *, Lng32, typedef __va_list_tag __va_list_tag *, SQLCLI_PTR_PAIRS *) 
> (cliGlobals=<value optimized out>,
>     statement_id=<value optimized out>, input_descriptor=<value optimized 
> out>,
>     num_ptr_pairs=<value optimized out>, ap=<value optimized out>, 
> ptr_pairs=<value optimized out>)
>     at ../cli/Cli.cpp:3531
> #49 0x00007f92f950822a in SQL_EXEC_Exec (statement_id=0x2d3e9b0, 
> input_descriptor=0x2d3a330,
>     num_ptr_pairs=0) at ../cli/CliExtern.cpp:2071
> #50 0x00007f92fae9a39b in SqlCmd::doExec (sqlci_env=0x190c710, stmt=0x2d3e9b0,
>     prep_stmt=<value optimized out>, numUnnamedParams=<value optimized out>,
>     unnamedParamArray=<value optimized out>, unnamedParamCharSetArray=<value 
> optimized out>,
>     handleError=1) at ../sqlci/SqlCmd.cpp:1706
> #51 0x00007f92fae9ad92 in SqlCmd::do_execute (sqlci_env=0x190c710, 
> prep_stmt=0x2ec55a0,
>     numUnnamedParams=0, unnamedParamArray=0x0, unnamedParamCharSetArray=0x0, 
> prepcode=0)
>     at ../sqlci/SqlCmd.cpp:2042
> #52 0x00007f92fae9b4bd in DML::process (this=0x2da1170, sqlci_env=0x190c710)
>     at ../sqlci/SqlCmd.cpp:2816
> #53 0x00007f92fae87ff6 in SqlciEnv::executeCommands (this=0x190c710, 
> input_stmt=@0x7fff71bfd4e8)
>     at ../sqlci/SqlciEnv.cpp:847
> #54 0x00007f92fae8a09b in SqlciEnv::run (this=0x190c710) at 
> ../sqlci/SqlciEnv.cpp:656
> #55 0x0000000000401ad9 in main (argc=1, argv=0x7fff71bfd6b8) at 
> ../bin/SqlciMain.cpp:328
> ================
> [trafodion@getafix-1 ~]$ sqlci
> Trafodion Conversational Interface 0.9.1
> (c) Copyright 2014 Hewlett-Packard Development Company, LP.
> >>get version of metadata;
>   Current Version 2.3. Expected Version 3.0.
>   Metadata need to be upgraded or reinitialized.
> --- SQL operation complete.
> >>get version of software;
>  Error -1395 returned while accessing metadata. Fix that error before running 
> this command.
> Why can’t the message above  return 
> *** ERROR[1395] Trafodion needs to be upgraded on this system due to metadata 
> version mismatch. Do 'initialize trafodion, upgrade' to upgrade metadata. Or 
> do 'initialize trafodion, drop' followed by 'initialize trafodion'. Be aware 
> that the second option will delete all metadata and user objects from 
> Trafodion database.
> --- SQL operation complete.
> >>
> [trafodion@getafix-1 ~]$ sqlci
> Trafodion Conversational Interface 0.9.1
> (c) Copyright 2014 Hewlett-Packard Development Company, LP.
> >>get version of metadata;
>   Current Version 2.3. Expected Version 3.0.
>   Metadata need to be upgraded or reinitialized.
> --- SQL operation complete.
> >>get version of software;
>  Error -1395 returned while accessing metadata. Fix that error before running 
> this command.
> --- SQL operation complete.
> >>set schema javabench;
> --- SQL operation complete.
> >>select count(*) from YCSB_TABLE_16;
> *** ERROR[1395] Trafodion needs to be upgraded on this system due to metadata 
> version mismatch. Do 'initialize trafodion, upgrade' to upgrade metadata. Or 
> do 'initialize trafodion, drop' followed by 'initialize trafodion'. Be aware 
> that the second option will delete all metadata and user objects from 
> Trafodion database.
> *** ERROR[4082] Object TRAFODION.JAVABENCH.YCSB_TABLE_16 does not exist or is 
> inaccessible.
> *** ERROR[8822] The statement was not prepared.
> >>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to