Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-9594

DataNode threw NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0-alpha1
    • None
    • datanode
    • None
    • Jenkins

    Description

      In a precommit jenkins, I saw multiple exceptions.
      https://builds.apache.org/job/PreCommit-HDFS-Build/13984/testReport/org.apache.hadoop.hdfs/TestDFSShell/testSymLinkReserved/

      One of which is a null pointer exception in datanode.

      2015-12-23 13:26:50,337 [DataNode: [[[DISK]file:/testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/test/data/1/dfs/data/data1/, [DISK]file:/testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/test/data/1/dfs/data/data2/]]  heartbeating to localhost/127.0.0.1:38151] WARN  datanode.DataNode (BPServiceActor.java:run(859)) - Unexpected exception in block pool Block pool BP-1060337608-172.17.0.3-1450877209942 (Datanode Uuid 6b120576-5c02-402f-ab38-079295bda597) service to localhost/127.0.0.1:38151
      java.lang.NullPointerException
      	at org.apache.hadoop.hdfs.server.datanode.DataNode.bpRegistrationSucceeded(DataNode.java:1391)
      	at org.apache.hadoop.hdfs.server.datanode.BPOfferService.registrationSucceeded(BPOfferService.java:360)
      	at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.register(BPServiceActor.java:796)
      	at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.connectToNNAndHandshake(BPServiceActor.java:231)
      	at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.run(BPServiceActor.java:829)
      	at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        Issue Links

          Activity

            People

              weichiu Wei-Chiu Chuang
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: