You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hawq.apache.org by "Hongxu Ma (JIRA)" <ji...@apache.org> on 2016/12/19 04:03:58 UTC

[jira] [Created] (HAWQ-1226) Enable ranger while RPS is down will cause HAWQ core dump

Hongxu Ma created HAWQ-1226:
-------------------------------

             Summary: Enable ranger while RPS is down will cause HAWQ core dump
                 Key: HAWQ-1226
                 URL: https://issues.apache.org/jira/browse/HAWQ-1226
             Project: Apache HAWQ
          Issue Type: Bug
            Reporter: Hongxu Ma
            Assignee: Ed Espino


Core dump when starting hawq without starting RPS with enable_ranger is true.

bq. {{
(lldb) bt
* thread #1: tid = 0x0000, 0x00007fffe9264dda libsystem_kernel.dylib`__pthread_kill + 10, stop reason = signal SIGSTOP
  * frame #0: 0x00007fffe9264dda libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x00007fffe9350787 libsystem_pthread.dylib`pthread_kill + 90
    frame #2: 0x00007fffe917b497 libsystem_c.dylib`raise + 26
    frame #3: 0x000000010cbdd93f postgres`SafeHandlerForSegvBusIll(processName="Process", postgres_signal_arg=11) + 591 at elog.c:4519
    frame #4: 0x000000010cbdd6cb postgres`StandardHandlerForSigillSigsegvSigbus_OnMainThread(processName="Process", postgres_signal_arg=11) + 43 at elog.c:4597
    frame #5: 0x000000010cab66ef postgres`CdbProgramErrorHandler(postgres_signal_arg=11) + 319 at postgres.c:3512
    frame #6: 0x00007fffe9343bba libsystem_platform.dylib`_sigtramp + 26
    frame #7: 0x00007fffe916cb53 libsystem_c.dylib`strlen + 19
    frame #8: 0x000000010c951215 postgres`parse_ranger_response(buffer=0x0000000000000000) + 21 at rangerrest.c:59
    frame #9: 0x000000010c951c8e postgres`check_privilege_from_ranger(user="wuhong", kind=ACL_KIND_NAMESPACE, object="template1", actions=0x00007ff338036598, how=0x0000000000000000) + 254 at rangerrest.c:339
    frame #10: 0x000000010c7890c4 postgres`pg_rangercheck(objkind=ACL_KIND_NAMESPACE, object_oid=2200, roleid=10, mask=256, how=ACLMASK_ANY) + 164 at aclchk.c:2678
    frame #11: 0x000000010c78b085 postgres`pg_namespace_aclcheck(nsp_oid=2200, roleid=10, mode=256) + 101 at aclchk.c:3752
    frame #12: 0x000000010c77ea48 postgres`recomputeNamespacePath + 600 at namespace.c:2010
    frame #13: 0x000000010c77dec1 postgres`RelnameGetRelid(relname="gp_segment_configuration") + 17 at namespace.c:423
    frame #14: 0x000000010c77db61 postgres`RangeVarGetRelid(relation=0x00007ff3388cef60, failOK='\0', allowHcatalog='\x01') + 449 at namespace.c:278
    frame #15: 0x000000010c671f6e postgres`CdbOpenRelationRv(relation=0x00007ff3388cef60, reqmode=3, noWait='\0', lockUpgraded=0x0000000000000000) + 46 at heapam.c:1075
    frame #16: 0x000000010c7f718c postgres`setTargetTable(pstate=0x00007ff3388cf460, relation=0x00007ff3388cef60, inh='\x01', alsoSource='\x01', requiredPerms=8) + 140 at parse_clause.c:866
    frame #17: 0x000000010c7b9a6e postgres`transformDeleteStmt(pstate=0x00007ff3388cf460, stmt=0x00007ff3388cf3c0) + 174 at analyze.c:943
    frame #18: 0x000000010c7b5249 postgres`transformStmt(pstate=0x00007ff3388cf460, parseTree=0x00007ff3388cf3c0, extras_before=0x00007fff535bcba0, extras_after=0x00007fff535bcb98) + 841 at analyze.c:769
    frame #19: 0x000000010c7a5b60 postgres`do_parse_analyze(parseTree=0x00007ff3388cf3c0, pstate=0x00007ff3388cf460) + 112 at analyze.c:497
    frame #20: 0x000000010c7a5acf postgres`parse_analyze(parseTree=0x00007ff3388cf3c0, sourceText="DELETE FROM gp_segment_configuration WHERE role = 'p' or role = 'm'", paramTypes=0x0000000000000000, numParams=0) + 95 at analyze.c:351
    frame #21: 0x000000010cab5960 postgres`pg_analyze_and_rewrite(parsetree=0x00007ff3388cf3c0, query_string="DELETE FROM gp_segment_configuration WHERE role = 'p' or role = 'm'", paramTypes=0x0000000000000000, numParams=0) + 64 at postgres.c:812
    frame #22: 0x000000010caba448 postgres`exec_simple_query(query_string="DELETE FROM gp_segment_configuration WHERE role = 'p' or role = 'm'", seqServerHost=0x0000000000000000, seqServerPort=-1) + 1416 at postgres.c:1739
    frame #23: 0x000000010cab8b15 postgres`PostgresMain(argc=8, argv=0x00007ff338818698, username="wuhong") + 7189 at postgres.c:4840
    frame #24: 0x000000010ca62295 postgres`BackendRun(port=0x00007ff337416a60) + 981 at postmaster.c:5915
    frame #25: 0x000000010ca5f6e5 postgres`BackendStartup(port=0x00007ff337416a60) + 373 at postmaster.c:5484
    frame #26: 0x000000010ca5cbb0 postgres`ServerLoop + 1248 at postmaster.c:2163
    frame #27: 0x000000010ca5b2e3 postgres`PostmasterMain(argc=9, argv=0x00007ff337415af0) + 4835 at postmaster.c:1454
    frame #28: 0x000000010c96742c postgres`main(argc=9, argv=0x00007ff337415af0) + 940 at main.c:226
    frame #29: 0x00007fffe9136255 libdyld.dylib`start + 1
    frame #30: 0x00007fffe9136255 libdyld.dylib`start + 1
}}



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