[jira] [Commented] (HDFS-9594) DataNode threw NullPointerException

2016-10-25 Thread SammiChen (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-9594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15604495#comment-15604495
 ] 

SammiChen commented on HDFS-9594:
-

I think this Null pointer exception is because one data node is killed during 
the test. Therefore, it can be a normal situation. 

> DataNode threw NullPointerException
> ---
>
> Key: HDFS-9594
> URL: https://issues.apache.org/jira/browse/HDFS-9594
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: datanode
>Affects Versions: 3.0.0-alpha1
> Environment: Jenkins
>Reporter: Wei-Chiu Chuang
>Assignee: Wei-Chiu Chuang
>
> 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.
> {noformat}
> 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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-9594) DataNode threw NullPointerException

2016-10-12 Thread Wei-Chiu Chuang (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-9594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15568384#comment-15568384
 ] 

Wei-Chiu Chuang commented on HDFS-9594:
---

Maybe it's related to test failures in HDFS-10935

> DataNode threw NullPointerException
> ---
>
> Key: HDFS-9594
> URL: https://issues.apache.org/jira/browse/HDFS-9594
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: datanode
>Affects Versions: 3.0.0-alpha1
> Environment: Jenkins
>Reporter: Wei-Chiu Chuang
>Assignee: Wei-Chiu Chuang
>
> 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.
> {noformat}
> 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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-9594) DataNode threw NullPointerException

2016-10-12 Thread Wei-Chiu Chuang (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-9594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15568382#comment-15568382
 ] 

Wei-Chiu Chuang commented on HDFS-9594:
---

I saw the same NPE when running tests in TestFileChecksum, and the NPE is 
reproducible consistently. (I run the tests on Mac)

> DataNode threw NullPointerException
> ---
>
> Key: HDFS-9594
> URL: https://issues.apache.org/jira/browse/HDFS-9594
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: datanode
>Affects Versions: 3.0.0-alpha1
> Environment: Jenkins
>Reporter: Wei-Chiu Chuang
>Assignee: Wei-Chiu Chuang
>
> 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.
> {noformat}
> 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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org