[ 
https://issues.apache.org/jira/browse/HDFS-12152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16577553#comment-16577553
 ] 

Hudson commented on HDFS-12152:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14752 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/14752/])
HDFS-12152: [SPS]: Re-arrange StoragePolicySatisfyWorker stopping (umamahesh: 
rev 3b601f2c0e16b84e35ebe5ecdcd06d3277eabb74)
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockStorageMovementTracker.java
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/StoragePolicySatisfyWorker.java


> [SPS]: Re-arrange StoragePolicySatisfyWorker stopping sequence to improve 
> thread cleanup time
> ---------------------------------------------------------------------------------------------
>
>                 Key: HDFS-12152
>                 URL: https://issues.apache.org/jira/browse/HDFS-12152
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>            Reporter: Rakesh R
>            Assignee: Rakesh R
>            Priority: Minor
>             Fix For: HDFS-10285
>
>         Attachments: HDFS-12152-HDFS-10285-01.patch, 
> HDFS-12152-HDFS-10285-02.patch, HDFS-12152-HDFS-10285-03.patch
>
>
> This jira to improve the StoragePolicySatisfyWorker#stop sequence of steps to 
> improve the thread interruption and graceful shutdown quickly.
> I have observed that 
> [TestDataNodeUUID#testUUIDRegeneration|https://builds.apache.org/job/PreCommit-HDFS-Build/20271/testReport/org.apache.hadoop.hdfs.server.datanode/TestDataNodeUUID/testUUIDRegeneration/]
>  test case is getting timed out frequently. When analyzing, it looks like the 
> below function is always taking 3 secs waiting period. Probably, we could 
> improve the thread interruption sequence so that the thread should finish 
> #run method quickly.
> {code}
> StoragePolicySatisfyWorker.java
>   void waitToFinishWorkerThread() {
>     try {
>       movementTrackerThread.join(3000);
>     } catch (InterruptedException ignore) {
>       // ignore
>     }
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to