[ 
https://issues.apache.org/jira/browse/HADOOP-4865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lei Xu updated HADOOP-4865:
---------------------------

    Attachment: manual_fsck_scan.patch

Move synchronized to the function and use synchronized(this) to replace 
synchronized(manuallyList) .  This patch also removes DNA_SCAN part. 

I think it is no good to run scan process in another thread, since it's 
possible that the regular scan process will scan same block with the manually 
scan progress.

> Trigger block scans for datanode
> --------------------------------
>
>                 Key: HADOOP-4865
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4865
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: dfs
>            Reporter: Brian Bockelman
>         Attachments: manual_block_scan.patch, manual_fsck_scan.patch
>
>
> Provide a mechanism to trigger block scans in a datanode upon request.  
> Support interfaces for commands sent by the namenode and through the HTTP 
> interface.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to