[
https://issues.apache.org/jira/browse/HDFS-14145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16719063#comment-16719063
]
Ayush Saxena commented on HDFS-14145:
-------------------------------------
Reasons for the failure:
>From the logs :::
bq. TrackID: 0 becomes timed out and moved to needed retries queue for next
iteration.
The reason for failure is the race between the main thread and the
BlocksStorageMovementAttemptMonitor thread.
If BlocksStorageMovementAttemptMonitor thread runs during
bsmAttemptedItems.add(..) process.It moves the block for next iteration.Thus
Failure
This thread has a run interval of 1 minute and our main thread and this thread
starts together.we could wait the main thread to make it go ahead and then
proceed to avoid this transition.We have to explicitly add sleep only since
there is no other way we can ensure that the thread has proceeded!!!
> TestBlockStorageMovementAttemptedItems#testNoBlockMovementAttemptFinishedReportAdded
> fails sporadically in Trunk
> ----------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-14145
> URL: https://issues.apache.org/jira/browse/HDFS-14145
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Ayush Saxena
> Assignee: Ayush Saxena
> Priority: Major
> Attachments: HDFS-14145-01.patch
>
>
> Reference :
> https://builds.apache.org/job/PreCommit-HDFS-Build/25739/testReport/junit/org.apache.hadoop.hdfs.server.namenode.sps/TestBlockStorageMovementAttemptedItems/testNoBlockMovementAttemptFinishedReportAdded/
> https://builds.apache.org/job/PreCommit-HDFS-Build/25746/testReport/junit/org.apache.hadoop.hdfs.server.namenode.sps/TestBlockStorageMovementAttemptedItems/testNoBlockMovementAttemptFinishedReportAdded/
> https://builds.apache.org/job/PreCommit-HDFS-Build/25768/testReport/junit/org.apache.hadoop.hdfs.server.namenode.sps/TestBlockStorageMovementAttemptedItems/testNoBlockMovementAttemptFinishedReportAdded/
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]