You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Atanu Mishra (JIRA)" <ji...@apache.org> on 2015/08/14 01:24:45 UTC

[jira] [Commented] (TRAFODION-133) LP Bug: 1244455 - Unsupported grant/revoke statements crash MXOSRVR and cause HPDCI to lose its connection

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

Atanu Mishra commented on TRAFODION-133:
----------------------------------------

Weishiun Tsai (wei-shiun-tsai) wrote on 2013-11-14:	#1
Tried it on a build from 11/11. It no longer crashes, but it returns HBASE_ACCESS_ERROR(705) right now:

SQL>set schema seabase.mytest;

--- SQL operation complete.

SQL>create table t (a int);

--- SQL operation complete.

SQL>grant select on table t to public;

*** ERROR[8448] Unable to access Hbase interface. Call to ExpHbaseInterface::grant() returned error HBASE_ACCESS_ERROR(705). Error detail: . [2013-11-14 17:06:36]

Weishiun Tsai (wei-shiun-tsai) wrote on 2013-11-14:	#2
Since grant/revoke is not a R1 feature, as long as it does not crash any processor, a HBASE_ACCESS_ERROR(705) error is considered OK at this point. Close this report for now.

Changed in trafodion:
status:	New → Fix Released


> LP Bug: 1244455 - Unsupported grant/revoke statements crash MXOSRVR and cause HPDCI to lose its connection
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TRAFODION-133
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-133
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: connectivity-dcs
>            Reporter: Weishiun Tsai
>            Assignee: Anoop Sharma
>            Priority: Critical
>             Fix For: 1.0 (pre-incubation)
>
>
> Issuing the unsupported grant or revoke statement currently causes MXOSRVR to core, and HPDCI to lose its connection. 
> The core file can be found on sqtopl7
> /local/cores/1008/core.1382591658.n013.7520.mxosrvr
> Its stack looks like this:
> (gdb) bt
> #0  0x00007ffff52298a5 in raise () from /lib64/libc.so.6
> #1  0x00007ffff522b085 in abort () from /lib64/libc.so.6
> #2  0x00007ffff6259455 in os::abort(bool) ()
>    from /home/tools/jdk1.7.0_09/jre/lib/amd64/server/libjvm.so
> #3  0x00007ffff63b9717 in VMError::report_and_die() ()
>    from /home/tools/jdk1.7.0_09/jre/lib/amd64/server/libjvm.so
> #4  0x00007ffff625cf60 in JVM_handle_linux_signal ()
>    from /home/tools/jdk1.7.0_09/jre/lib/amd64/server/libjvm.so
> #5  <signal handler called>
> #6  0x00007ffff48ec380 in NAString::pref (this=0x48)
>     at ../export/NAStringDef.h:571
> #7  0x00007ffff4521312 in NAString::heap (this=0x48)
>     at ../export/NAStringDef.h:573
> #8  0x00007ffff0df159c in NAString::NAString (this=0x7fffe321f5b0, S=..., h=
>     0x2) at ../export/NAStringDef.cpp:544
> #9  0x00007fffee504f7d in StmtDDLGrant::getTableName (this=0x0)
>     at ../parser/StmtDDLGrant.h:233
> #10 0x00007fffee500ec5 in CmpSeabaseDDL::seabaseGrantRevoke (
>     this=0x7fffe3220320, stmtDDLNode=0x19981c0, isGrant=0, currCatName=...,
>     currSchName=...) at ../sqlcomp/CmpSeabaseDDLtable.cpp:1313
> #11 0x00007fffee4f87de in CmpSeabaseDDL::executeSeabaseDDL (
>     this=0x7fffe3220320, ddlExpr=0x1998410, ddlNode=0x19981c0,
>     currCatName=..., currSchName=...)
>     at ../sqlcomp/CmpSeabaseDDLcommon.cpp:2450
> ---Type <return> to continue, or q <return> to quit---
> #12 0x00007fffebef188e in CmpStatement::process (this=0x7fffb3ba6a08,
>     statement=...) at ../arkcmp/CmpStatement.cpp:902
> #13 0x00007fffebee87ac in CmpContext::compileDirect (this=0x11249a0,
>     data=0x7fffe1cc17f0 "\200", data_len=216, outHeap=0x7fffe27a5648,
>     charset=15, op=CmpMessageObj::PROCESSDDL, gen_code=@0x7fffe3220788,
>     gen_code_len=@0x7fffe3220784, parserFlags=4194304, diagsArea=
>     0x7fffe1cc18d0) at ../arkcmp/CmpContext.cpp:536
> #14 0x00007ffff2b4e02a in ExDDLTcb::work (this=0x7fffe1d18350)
>     at ../executor/ex_ddl.cpp:280
> #15 0x00007ffff2b6170d in ex_tcb::sWork (tcb=0x7fffe1d18350)
>     at ../executor/ex_tcb.h:113
> #16 0x00007ffff2cc693b in ExSubtask::work (this=0x7fffe1d188a8)
>     at ../executor/ExScheduler.cpp:829
> #17 0x00007ffff2cc5cbc in ExScheduler::work (this=0x7fffe1d17eb8,
>     prevWaitTime=0) at ../executor/ExScheduler.cpp:346
> #18 0x00007ffff2ba1a1b in ex_root_tcb::execute (this=0x7fffe1d18928,
>     cliGlobals=0x1122660, glob=0x7fffe1cc0638, input_desc=0x7fffe1cc2590,
>     diagsArea=@0x7fffe3221db0, reExecute=0) at ../executor/ex_root.cpp:1092
> #19 0x00007ffff4933c2e in CliStatement::execute (this=0x7fffb395f7b0,
>     cliGlobals=0x1122660, input_desc=0x7fffe1cc2590, diagsArea=...,
>     execute_state=CliStatement::INITIAL_STATE_, fixupOnly=0, cliflags=0)
>     at ../cli/Statement.cpp:5231
> #20 0x00007ffff48dc448 in SQLCLI_PerformTasks(CliGlobals *, ULng32, SQLSTMT_ID *
> , SQLDESC_ID *, SQLDESC_ID *, Lng32, Lng32, typedef __va_list_tag __va_list_ta--
> -Type <return> to continue, or q <return> to quit---
> g *, SQLCLI_PTR_PAIRS *, SQLCLI_PTR_PAIRS *) (cliGlobals=0x1122660,
>     tasks=8063, statement_id=0x1d02198, input_descriptor=0x1d021c8,
>     output_descriptor=0x0, num_input_ptr_pairs=0, num_output_ptr_pairs=0,
>     ap=0x7fffe32223a0, input_ptr_pairs=0x0, output_ptr_pairs=0x0)
>     at ../cli/Cli.cpp:3523
> #21 0x00007ffff48dd640 in SQLCLI_ClearExecFetchClose(CliGlobals *, SQLSTMT_ID *,
> SQLDESC_ID *, SQLDESC_ID *, Lng32, Lng32, Lng32, typedef __va_list_tag __va_lis
> t_tag *, SQLCLI_PTR_PAIRS *, SQLCLI_PTR_PAIRS *) (cliGlobals=0x1122660,
>     statement_id=0x1d02198, input_descriptor=0x1d021c8,
>     output_descriptor=0x0, num_input_ptr_pairs=0, num_output_ptr_pairs=0,
>     num_total_ptr_pairs=0, ap=0x7fffe32223a0, input_ptr_pairs=0x0,
>     output_ptr_pairs=0x0) at ../cli/Cli.cpp:4029
> #22 0x00007ffff4947e18 in SQL_EXEC_ClearExecFetchClose (
>     statement_id=0x1d02198, input_descriptor=0x1d021c8,
>     output_descriptor=0x0, num_input_ptr_pairs=0, num_output_ptr_pairs=0,
>     num_total_ptr_pairs=0) at ../cli/CliExtern.cpp:2638
> #23 0x00007ffff6d4b005 in SRVR::WSQL_EXEC_ClearExecFetchClose (
>     statement_id=0x1d02198, input_descriptor=0x1d021c8,
>     output_descriptor=0x0, num_input_ptr_pairs=0, num_output_ptr_pairs=0,
>     num_total_ptr_pairs=0) at SQLWrapper.cpp:474
> #24 0x00007ffff6d347af in SRVR::EXECUTE2 (pSrvrStmt=0x1d01b80)
>     at sqlinterface.cpp:5534
> #25 0x00007ffff6d8b434 in odbc_SQLSvc_Execute2_sme_ (objtag_=0x11128d0,
>     call_id_=0x1112928, dialogueId=1564781720, sqlAsyncEnable=0,
> ---Type <return> to continue, or q <return> to quit---
>     queryTimeout=0, inputRowCnt=0, sqlStmtType=0, stmtHandle=30415744,
>     cursorLength=0, cursorName=0x0, cursorCharset=1, holdableCursor=0,
>     inValuesLength=0, inValues=0x0, returnCode=0x7fffe3222fc4,
>     sqlWarningOrErrorLength=0x7fffe3222fc0,
>     sqlWarningOrError=@0x7fffe3222fb8, rowsAffected=0x7fffe3222fb4,
>     outValuesLength=0x7fffe3222fa8, outValues=@0x7fffe3222fa0)
>     at srvrothers.cpp:1488
> #26 0x00000000005a078a in odbc_SQLSrvr_ExecDirect_ame_ (objtag_=0x11128d0,
>     call_id_=0x1112928, dialogueId=1564781720,
>     stmtLabel=0x14838ca "SQL_CUR_2", cursorName=0x0, stmtExplainLabel=0x0,
>     stmtType=0, sqlStmtType=0,
>     sqlString=0x1483884 "revoke all on table seabase.g_sqldpop.btpns01 from PUBL
> IC", sqlAsyncEnable=0, queryTimeout=0, inputRowCnt=0, txnID=0,
>     holdableCursor=0) at SrvrConnect.cpp:6963
> #27 0x000000000053c4a5 in SQLEXECUTE_IOMessage (objtag_=0x11128d0,
>     call_id_=0x1112928, operation_id=3012) at Interface/odbcs_srvr.cpp:1761
> #28 0x000000000053c771 in DISPATCH_TCPIPRequest (objtag_=0x11128d0,
>     call_id_=0x1112928, operation_id=3012) at Interface/odbcs_srvr.cpp:1826
> #29 0x0000000000464a08 in BUILD_TCPIP_REQUEST (pnode=0x11128d0)
>     at ../Common/TCPIPSystemSrvr.cpp:632
> #30 0x000000000046494f in PROCESS_TCPIP_REQUEST (pnode=0x11128d0)
>     at ../Common/TCPIPSystemSrvr.cpp:606
> #31 0x00000000004d345c in CNSKListenerSrvr::CheckTCPIPRequest (this=0xf82290,
>     ipnode=0x11128d0) at Interface/Listener_srvr.cpp:86
> ---Type <return> to continue, or q <return> to quit---
> #32 0x00000000004e4755 in CNSKListenerSrvr::tcpip_listener (arg=0xf82290)
>     at Interface/linux/Listener_srvr_ps.cpp:390
> #33 0x00007ffff4bb582c in sb_thread_sthr_disp (pp_arg=0x110de00)
>     at threadl.cpp:241
> #34 0x00007ffff4fe1851 in start_thread () from /lib64/libpthread.so.0
> #35 0x00007ffff52df90d in clone () from /lib64/libc.so.6
> (gdb)
> (gdb)



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