hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1887) ArrayIndexOutOfBoundsException with trunk
Date Wed, 12 Sep 2007 23:00:46 GMT

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

Raghu Angadi commented on HADOOP-1887:

The trunk I had was not the latest and was not entirely clean. Since this is so easy to reproduce,
I didn't attach initially. Now I cleaned up my source and updated to latest trunk. The trace
from the latest trunk :

java.io.IOException: java.lang.ArrayIndexOutOfBoundsException: 0
	at org.apache.hadoop.dfs.FSNamesystem.getBlockLocations(FSNamesystem.java:596)
	at org.apache.hadoop.dfs.FSNamesystem.getBlockLocations(FSNamesystem.java:563)
	at org.apache.hadoop.dfs.NameNode.getBlockLocations(NameNode.java:280)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:340)
	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:566)

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