Fix unit test case: TestReplication ----------------------------------- Key: HDFS-1650 URL: https://issues.apache.org/jira/browse/HDFS-1650 Project: Hadoop HDFS Issue Type: Bug Components: test Affects Versions: Federation Branch Reporter: Tanping Wang Assignee: Tanping Wang Priority: Minor Fix For: Federation Branch
TestReplication fails due to null pointer exception. When corrupting/deleting blocks in TestReplication#testPendingReplicationRetry() the loop should run for 3 datanodes. Instead it runs 6 times, resulting in null blockFile returned. Changing the loop to run 3 times. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira