[
https://issues.apache.org/jira/browse/HADOOP-2020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534117
]
Christian Kunz commented on HADOOP-2020:
----------------------------------------
I was running Sep 14 nightly build. Replacing it with Oct 11 nightly build
solved the issue, so it must have been HADOOP-1904
> Index is out of bound when restarting datanode after 5 hours
> ------------------------------------------------------------
>
> Key: HADOOP-2020
> URL: https://issues.apache.org/jira/browse/HADOOP-2020
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Reporter: Christian Kunz
> Priority: Blocker
> Fix For: 0.15.0
>
>
> I was told that dfs recovers when datanodes go down and come back after a
> while, even when some blocks went missing.
> As a test I stopped the datanode server on a single-node cluster and
> restarted after 5 hours.
> Dfs did not recover because of the following repeated exception:
> 2007-10-10 02:42:52,808 INFO org.apache.hadoop.ipc.Server: IPC Server handler
> 5 on 8020, call blockReport(127.0.0.1:50010,
> [Lorg.apache.hadoop.dfs.Block;@ecb8c4) from 127.0.0.1:49678: error:
> java.io.IOException: java.lang.AssertionError: Index is out of bound
> java.io.IOException: java.lang.AssertionError: Index is out of bound
> at org.apache.hadoop.dfs.BlocksMap$BlockInfo.getNext(BlocksMap.java:77)
> at
> org.apache.hadoop.dfs.DatanodeDescriptor$BlockIterator.next(DatanodeDescriptor.java:185)
> at
> org.apache.hadoop.dfs.DatanodeDescriptor$BlockIterator.next(DatanodeDescriptor.java:170)
> at
> org.apache.hadoop.dfs.DatanodeDescriptor.reportDiff(DatanodeDescriptor.java:325)
> at
> org.apache.hadoop.dfs.FSNamesystem.processReport(FSNamesystem.java:2111)
> at org.apache.hadoop.dfs.NameNode.blockReport(NameNode.java:621)
> at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
> 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:609)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.