Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4562

impala crashes starting up on kerberized clusters where kudu is not supported

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Impala 2.8.0
    • Fix Version/s: Impala 2.8.0
    • Component/s: Backend
    • Labels:

      Description

      commit de88f0c4af3a07ae6bd6b8c94edcb8748468f522 for "IMPALA-4497: Fix Kudu client crash w/ SASL initialization" causes a crash on secure clusters where kudu is not supported.

      #0  0x00007f6e549c595e in ?? () from /opt/cloudera/parcels/CDH-5.10.0-1.cdh5.10.0.p0.1/lib/impala/lib/libkudu_client.so.0
      #1  0x00007f6e549c650a in kudu::client::DisableSaslInitialization() () from /opt/cloudera/parcels/CDH-5.10.0-1.cdh5.10.0.p0.1/lib/impala/lib/libkudu_client.so.0
      #2  0x00000000009d75a7 in impala::InitAuth(std::string const&) ()
      #3  0x000000000082c54e in impala::InitCommonRuntime(int, char**, bool, impala::TestInfo::Mode) ()
      #4  0x0000000000b23db0 in ImpaladMain(int, char**) ()
      #5  0x00000000007d0fd3 in main ()
      

      We need to ensure we do not call the Kudu client on systems where libkudu_client.so is a stub.

        Activity

        Hide
        mjacobs Matthew Jacobs added a comment -

        commit 1b8fede3b5b3f5aff9d3fb3ac74f956da870186d
        Author: Matthew Jacobs <mj@cloudera.com>
        Date: Wed Nov 30 16:25:51 2016 -0800

        IMPALA-4562: Fix for crash on kerberized clusters w/o Kudu support

        commit de88f0c4af3a07ae6bd6b8c94edcb8748468f522 for
        "IMPALA-4497: Fix Kudu client crash w/ SASL initialization"
        causes a crash on secure clusters where kudu is not
        supported.

        kudu::client::DisableSaslInitialization() from libkudu_client.so.0
        impala::InitAuth(std::string const&) ()
        impala::InitCommonRuntime() ()
        ImpaladMain(int, char**) ()
        main ()

        This ensures Impala does not call the Kudu client to handle
        SASL init on systems where libkudu_client.so is a stub.

        Change-Id: Ib517d17ab12e215fe87f35bc5d03cdda736ff672
        Reviewed-on: http://gerrit.cloudera.org:8080/5295
        Reviewed-by: Henry Robinson <henry@cloudera.com>
        Tested-by: Internal Jenkins

        Show
        mjacobs Matthew Jacobs added a comment - commit 1b8fede3b5b3f5aff9d3fb3ac74f956da870186d Author: Matthew Jacobs <mj@cloudera.com> Date: Wed Nov 30 16:25:51 2016 -0800 IMPALA-4562 : Fix for crash on kerberized clusters w/o Kudu support commit de88f0c4af3a07ae6bd6b8c94edcb8748468f522 for " IMPALA-4497 : Fix Kudu client crash w/ SASL initialization" causes a crash on secure clusters where kudu is not supported. kudu::client::DisableSaslInitialization() from libkudu_client.so.0 impala::InitAuth(std::string const&) () impala::InitCommonRuntime() () ImpaladMain(int, char**) () main () This ensures Impala does not call the Kudu client to handle SASL init on systems where libkudu_client.so is a stub. Change-Id: Ib517d17ab12e215fe87f35bc5d03cdda736ff672 Reviewed-on: http://gerrit.cloudera.org:8080/5295 Reviewed-by: Henry Robinson <henry@cloudera.com> Tested-by: Internal Jenkins

          People

          • Assignee:
            mjacobs Matthew Jacobs
            Reporter:
            mjacobs Matthew Jacobs
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development