Ted Yu created HDFS-5012:
----------------------------
Summary: replica.getGenerationStamp() may be >= recoveryId
Key: HDFS-5012
URL: https://issues.apache.org/jira/browse/HDFS-5012
Project: Hadoop HDFS
Issue Type: Bug
Affects Versions: 2.0.5-alpha
Reporter: Ted Yu
Attachments: testReplicationQueueFailover.txt
We saw the following in TestReplicationQueueFailover running against
2.0.5-alpha:
{code}
2013-07-16 17:14:33,340 ERROR [IPC Server handler 7 on 35081]
security.UserGroupInformation(1481): PriviledgedActionException as:ec2-user
(auth:SIMPLE) cause:java.io.IOException: THIS IS NOT SUPPOSED TO HAPPEN:
replica.getGenerationStamp() >= recoveryId = 1041,
block=blk_4297992342878601848_1041, replica=FinalizedReplica,
blk_4297992342878601848_1041, FINALIZED
getNumBytes() = 794
getBytesOnDisk() = 794
getVisibleLength()= 794
getVolume() =
/home/ec2-user/jenkins/workspace/HBase-0.95-Hadoop-2/hbase-server/target/test-data/f2763e32-fe49-4988-ac94-eeca82431821/dfscluster_643a635e-4e39-4aa5-974c-25e01db16ff7/dfs/data/data3/current
getBlockFile() =
/home/ec2-user/jenkins/workspace/HBase-0.95-Hadoop-2/hbase-server/target/test-data/f2763e32-fe49-4988-ac94-eeca82431821/dfscluster_643a635e-4e39-4aa5-974c-25e01db16ff7/dfs/data/data3/current/BP-1477359609-10.197.55.49-1373994849464/current/finalized/blk_4297992342878601848
unlinked =false
2013-07-16 17:14:33,341 WARN
[org.apache.hadoop.hdfs.server.datanode.DataNode$2@64a1fcba]
datanode.DataNode(1894): Failed to obtain replica info for block
(=BP-1477359609-10.197.55.49-1373994849464:blk_4297992342878601848_1041) from
datanode (=127.0.0.1:47006)
java.io.IOException: THIS IS NOT SUPPOSED TO HAPPEN:
replica.getGenerationStamp() >= recoveryId = 1041,
block=blk_4297992342878601848_1041, replica=FinalizedReplica,
blk_4297992342878601848_1041, FINALIZED
getNumBytes() = 794
getBytesOnDisk() = 794
getVisibleLength()= 794
getVolume() =
/home/ec2-user/jenkins/workspace/HBase-0.95-Hadoop-2/hbase-server/target/test-data/f2763e32-fe49-4988-ac94-eeca82431821/dfscluster_643a635e-4e39-4aa5-974c-25e01db16ff7/dfs/data/data3/current
getBlockFile() =
/home/ec2-user/jenkins/workspace/HBase-0.95-Hadoop-2/hbase-server/target/test-data/f2763e32-fe49-4988-ac94-eeca82431821/dfscluster_643a635e-4e39-4aa5-974c-25e01db16ff7/dfs/data/data3/current/BP-1477359609-10.197.55.49-1373994849464/current/finalized/blk_4297992342878601848
unlinked =false
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira