hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba borthakur (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-1887) ArrayIndexOutOfBoundsException with trunk
Date Fri, 14 Sep 2007 21:22:33 GMT

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

dhruba borthakur updated HADOOP-1887:

    Attachment: zeroSizeFile4.patch

The earlier patch caused the browseDirectory jsp to encounter an error. Attaching a new patch
that fixes the jsp related problem. It appears that we do not have any unit tests for testing
jsp functionality. I will open a separate JIRA to create unit tests for hdfs jsps.

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.

> 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.

View raw message