[ 
https://issues.apache.org/jira/browse/HDFS-5857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Haohui Mai updated HDFS-5857:
-----------------------------

    Hadoop Flags: Reviewed

> TestWebHDFS#testNamenodeRestart fails intermittently with NPE
> -------------------------------------------------------------
>
>                 Key: HDFS-5857
>                 URL: https://issues.apache.org/jira/browse/HDFS-5857
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.2.0
>            Reporter: Mit Desai
>            Assignee: Mit Desai
>             Fix For: 2.4.0
>
>         Attachments: HDFS-5857.patch, HDFS-5857.patch
>
>
> {noformat}
> java.lang.AssertionError: There are 1 exception(s):
>   Exception 0: 
> org.apache.hadoop.ipc.RemoteException(java.lang.NullPointerException): null
>       at 
> org.apache.hadoop.hdfs.web.JsonUtil.toRemoteException(JsonUtil.java:157)
>       at 
> org.apache.hadoop.hdfs.web.WebHdfsFileSystem.validateResponse(WebHdfsFileSystem.java:315)
>       at 
> org.apache.hadoop.hdfs.web.WebHdfsFileSystem.access$700(WebHdfsFileSystem.java:105)
>       at 
> org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.getResponse(WebHdfsFileSystem.java:625)
>       at 
> org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.run(WebHdfsFileSystem.java:532)
>       at 
> org.apache.hadoop.hdfs.web.WebHdfsFileSystem.run(WebHdfsFileSystem.java:421)
>       at 
> org.apache.hadoop.hdfs.web.WebHdfsFileSystem.mkdirs(WebHdfsFileSystem.java:701)
>       at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1816)
>       at org.apache.hadoop.hdfs.DFSTestUtil.createFile(DFSTestUtil.java:196)
>       at 
> org.apache.hadoop.hdfs.TestDFSClientRetries$6.run(TestDFSClientRetries.java:920)
>       at java.lang.Thread.run(Thread.java:722)
>       at org.junit.Assert.fail(Assert.java:93)
>       at 
> org.apache.hadoop.hdfs.TestDFSClientRetries.assertEmpty(TestDFSClientRetries.java:1031)
>       at 
> org.apache.hadoop.hdfs.TestDFSClientRetries.namenodeRestartTest(TestDFSClientRetries.java:951)
>       at 
> org.apache.hadoop.hdfs.web.TestWebHDFS.testNamenodeRestart(TestWebHDFS.java:216)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to