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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: ipc
    • Labels:
      None
    • Hadoop Flags:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: