Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12178

NPE during handling of SASL setup if problem with SASL resolver class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.1
    • 2.8.0, 3.0.0-alpha1
    • ipc
    • None
    • Reviewed

    Description

      If there's any problem in the constructor of SaslRpcClient, then IPC Client throws an NPE rather than forwarding the stack trace. This is because the exception handler assumes that saslRpcClient is not null, that the exception is related to the SASL setup itself.

      The exception handler needs to check for saslRpcClient being null, and if so, rethrow the exception

      Attachments

        1. HADOOP-12178-001.patch
          1 kB
          Steve Loughran

        Activity

          People

            stevel@apache.org Steve Loughran
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: