[
https://issues.apache.org/jira/browse/HADOOP-5414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681045#action_12681045
]
Ravi Phulari commented on HADOOP-5414:
--------------------------------------
Hairong , tested with your patch . hadoop fs -touchz is fixed but it has
introduced new bug . Which causes hadoop fs -ls throwing
NullPointerException .
This is reproducible .
Exception in thread "main" java.lang.NullPointerException
at
org.apache.hadoop.hdfs.DFSClient$LeaseChecker.join(DFSClient.java:957)
at org.apache.hadoop.hdfs.DFSClient.close(DFSClient.java:211)
at
org.apache.hadoop.hdfs.DistributedFileSystem.close(DistributedFileSystem.java:277)
at org.apache.hadoop.fs.FsShell.close(FsShell.java:1879)
at org.apache.hadoop.fs.FsShell.main(FsShell.java:1893)
> IO exception while executing hadoop fs -touchz fileName
> ----------------------------------------------------------
>
> Key: HADOOP-5414
> URL: https://issues.apache.org/jira/browse/HADOOP-5414
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.20.0
> Reporter: Ravi Phulari
> Assignee: Hairong Kuang
> Attachments: leaseClose.patch
>
>
> Stack trace while executing hadoop fs -touchz command .
> [u...@xyzhostname ~]$ hadoop fs -touchz test/new0LenFile2
> 09/03/05 23:31:21 WARN hdfs.DFSClient: Problem renewing lease for
> DFSClient_-661919204
> java.io.IOException: Call to xxxxx-xxx.xxx.com/xxx.xxx.xxx.xxx:xxxx failed on
> local exception: java.nio.channels.ClosedByInterruptException
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.