Hadoop Common
  1. Hadoop Common
  2. HADOOP-8348

Server$Listener.getAddress(..) may throw NullPointerException

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ipc
    • Labels:
      None

      Description

      Build #2365:

      Exception in thread "DataXceiver for client /127.0.0.1:35472 [Waiting for operation #2]" java.lang.NullPointerException
      	at org.apache.hadoop.ipc.Server$Listener.getAddress(Server.java:669)
      	at org.apache.hadoop.ipc.Server.getListenerAddress(Server.java:1988)
      	at org.apache.hadoop.hdfs.server.datanode.DataNode.getIpcPort(DataNode.java:882)
      	at org.apache.hadoop.hdfs.server.datanode.DataNode.getDisplayName(DataNode.java:863)
      	at org.apache.hadoop.hdfs.server.datanode.DataXceiver.run(DataXceiver.java:177)
      	at java.lang.Thread.run(Thread.java:662)
      

        Issue Links

          Activity

          Eli Collins made changes -
          Assignee Eli Collins [ eli2 ] Eli Collins [ eli ]
          Eli Collins made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Duplicate [ 3 ]
          Eli Collins made changes -
          Assignee Eli Collins [ eli2 ]
          Jeff Hammerbacher made changes -
          Link This issue relates to HDFS-3171 [ HDFS-3171 ]
          Tsz Wo Nicholas Sze made changes -
          Field Original Value New Value
          Summary Server$Listener.getAddress(..) may thow NullPointerException Server$Listener.getAddress(..) may throw NullPointerException
          Description {noformat}
          Exception in thread "DataXceiver for client /127.0.0.1:35472 [Waiting for operation #2]" java.lang.NullPointerException
          at org.apache.hadoop.ipc.Server$Listener.getAddress(Server.java:669)
          at org.apache.hadoop.ipc.Server.getListenerAddress(Server.java:1988)
          at org.apache.hadoop.hdfs.server.datanode.DataNode.getIpcPort(DataNode.java:882)
          at org.apache.hadoop.hdfs.server.datanode.DataNode.getDisplayName(DataNode.java:863)
          at org.apache.hadoop.hdfs.server.datanode.DataXceiver.run(DataXceiver.java:177)
          at java.lang.Thread.run(Thread.java:662)
          {noformat}
          [Build #2365|https://builds.apache.org/job/PreCommit-HDFS-Build/2365//testReport/org.apache.hadoop.hdfs/TestHFlush/testHFlushInterrupted/]:
          {noformat}
          Exception in thread "DataXceiver for client /127.0.0.1:35472 [Waiting for operation #2]" java.lang.NullPointerException
          at org.apache.hadoop.ipc.Server$Listener.getAddress(Server.java:669)
          at org.apache.hadoop.ipc.Server.getListenerAddress(Server.java:1988)
          at org.apache.hadoop.hdfs.server.datanode.DataNode.getIpcPort(DataNode.java:882)
          at org.apache.hadoop.hdfs.server.datanode.DataNode.getDisplayName(DataNode.java:863)
          at org.apache.hadoop.hdfs.server.datanode.DataXceiver.run(DataXceiver.java:177)
          at java.lang.Thread.run(Thread.java:662)
          {noformat}
          Tsz Wo Nicholas Sze created issue -

            People

            • Assignee:
              Eli Collins
              Reporter:
              Tsz Wo Nicholas Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development