NPE while closing file.
-----------------------
Key: HADOOP-2717
URL: https://issues.apache.org/jira/browse/HADOOP-2717
Project: Hadoop Core
Issue Type: Bug
Affects Versions: 0.16.0
Reporter: Raghu Angadi
Fix For: 0.16.0
Saw this NPE in one of the hudson builds :
{code}
java.lang.NullPointerException
at
org.apache.hadoop.dfs.DFSClient$DFSOutputStream.close(DFSClient.java:2277)
at
org.apache.hadoop.fs.FSDataOutputStream$PositionCache.close(FSDataOutputStream.java:51)
at
org.apache.hadoop.fs.FSDataOutputStream.close(FSDataOutputStream.java:67)
at
org.apache.hadoop.dfs.TestCheckpoint.writeFile(TestCheckpoint.java:49)
at
org.apache.hadoop.dfs.TestCheckpoint.testSecondaryNamenodeError2(TestCheckpoint.java:231)
at
org.apache.hadoop.dfs.TestCheckpoint.testCheckpoint(TestCheckpoint.java:412)
{code}
{code}
if (response != null) {
response.join(); // line 2277
}
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.