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

ipc.Client.close() throws NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.18.0
    • ipc
    • None

    Description

      There are two possible cases that Client.close() throws NullPointerException

      • Exception in thread "IPC Client (47) connection to localhost/127.0.0.1:3070 from tsz" java.lang.NullPointerException
        at org.apache.hadoop.ipc.Client$Connection.close(Client.java:521)
        at org.apache.hadoop.ipc.Client$Connection.run(Client.java:434)
      • Exception in thread "Thread-2" java.lang.NullPointerException
        at org.apache.hadoop.ipc.Client$Connection.close(Client.java:519)
        at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:317)
        at org.apache.hadoop.ipc.Client$Connection.access$1700(Client.java:175)
        at org.apache.hadoop.ipc.Client.getConnection(Client.java:766)
        at org.apache.hadoop.ipc.Client.call(Client.java:680)
        at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:216)
        ...

      Attachments

        1. ipc_client_npe.patch
          0.9 kB
          Hairong Kuang

        Issue Links

          Activity

            People

              hairong Hairong Kuang
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: