[
https://issues.apache.org/jira/browse/HADOOP-1887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528104
]
Raghu Angadi commented on HADOOP-1887:
--------------------------------------
bq. The FileNotFound exception in the namenode log is expected. A client is
invoking isDir() to determine if the path is a directory. The deprecated
isDir() call is invoke getFileStatus but the file does not exist yet, hence the
exception in the namenode log.
File does exist, right? Otherwise, how does client even know the path to use
for isDir()?
> ArrayIndexOutOfBoundsException with trunk
> -----------------------------------------
>
> Key: HADOOP-1887
> URL: https://issues.apache.org/jira/browse/HADOOP-1887
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Reporter: Raghu Angadi
> Assignee: dhruba borthakur
> Attachments: zeroSizeFile3.patch, zeroSizeFile4.patch
>
>
> How to reproduce :
> # Run a DFS cluster (single node is fine).
> # Start writing a file but do not close it : {{cat | bin/hadoop dfs
> -copyFromLocal - /dir/file}} does that.
> # goto /dir on Hadoop webui or do {{bin/hadoop fs -cat /dir/file}}.
> This is mostly related to HADOOP-1708.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.