hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Kunz (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-2020) Index is out of bound when restarting datanode after 2 hours
Date Wed, 10 Oct 2007 02:56:51 GMT
Index is out of bound when restarting datanode after 2 hours
------------------------------------------------------------

                 Key: HADOOP-2020
                 URL: https://issues.apache.org/jira/browse/HADOOP-2020
             Project: Hadoop
          Issue Type: Bug
          Components: dfs
            Reporter: Christian Kunz
             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.


Mime
View raw message