[
https://issues.apache.org/jira/browse/HADOOP-3900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Harsh J resolved HADOOP-3900.
-----------------------------
Resolution: Cannot Reproduce
Hasn't had a failure report in two years now. Gone stale, closing out this and
related issues.
> TestInjectionForSimulatedStorage only works on a clean directory structure
> --------------------------------------------------------------------------
>
> Key: HADOOP-3900
> URL: https://issues.apache.org/jira/browse/HADOOP-3900
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Reporter: Steve Loughran
>
> I've been getting intermittent failures on
> org.apache.hadoop.hdfs.TestInjectionForSimulatedStorage
> Timedout while waiting for all blocks to be replicated for
> /replication-test-file
> java.io.IOException: Timedout while waiting for all blocks to be replicated
> for /replication-test-file
> at
> org.apache.hadoop.hdfs.TestInjectionForSimulatedStorage.waitForBlockReplication(TestInjectionForSimulatedStorage.java:100)
> at
> org.apache.hadoop.hdfs.TestInjectionForSimulatedStorage.testInjection(TestInjectionForSimulatedStorage.java:151)
> Here's how to replicate it: run the test twice.
> When run the second time, the trace is full of log messages like :
> 2008-08-05 11:12:46,108
> [org.apache.hadoop.hdfs.server.datanode.DataNode$DataXceiver@3cc66e] INFO
> datanode.DataNode - Receiving block blk_-5590567767202552997_1001 src:
> /127.0.0.1:41792 dest: /127.0.0.1:46976
> 2008-08-05 11:12:46,108
> [org.apache.hadoop.hdfs.server.datanode.DataNode$DataXceiver@3cc66e] INFO
> datanode.DataNode - writeBlock blk_-5590567767202552997_1001 received
> exception java.io.IOException: Block blk_-5590567767202552997_1001 is valid,
> and cannot be written to.
> 2008-08-05 11:12:46,108
> [org.apache.hadoop.hdfs.server.datanode.DataNode$DataXceiver@3cc66e] ERROR
> datanode.DataNode - DatanodeRegistration(127.0.0.1:46976,
> storageID=DS-1340877566-127.0.1.1-0-1217931159994, infoPort=56552,
> ipcPort=60571):DataXceiver: java.io.IOException: Block
> blk_-5590567767202552997_1001 is valid, and cannot be written to.
> at
> org.apache.hadoop.hdfs.server.datanode.SimulatedFSDataset.writeToBlock(SimulatedFSDataset.java:370)
> at
> org.apache.hadoop.hdfs.server.datanode.DataNode$BlockReceiver.<init>(DataNode.java:2405)
> at
> org.apache.hadoop.hdfs.server.datanode.DataNode$DataXceiver.writeBlock(DataNode.java:1266)
> at
> org.apache.hadoop.hdfs.server.datanode.DataNode$DataXceiver.run(DataNode.java:1124)
> at java.lang.Thread.run(Thread.java:619)
> Am I the only person seeing this?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira