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

Chris Nauroth commented on HDFS-10359:
--------------------------------------

I also am not in favor of adding such a command, for the same reasons stated by 
others.  There has been a lot of work lately around reducing load generated by 
block reports and staggering them to prevent a thundering herd problem.  A mass 
trigger for all DataNodes would circumvent those protections.  If someone 
really, really had a need to do this for some reason, then I suppose they could 
script a sequence of single-node calls.  That would at least introduce some 
amount of throttling in the process.

> Allow trigger block report from all datanodes
> ---------------------------------------------
>
>                 Key: HDFS-10359
>                 URL: https://issues.apache.org/jira/browse/HDFS-10359
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>    Affects Versions: 2.7.0, 2.6.1
>            Reporter: Tao Jie
>
> Since we have HDFS-7278 allows trigger block report from one certain 
> datanode. It would be helpful to add a option to this command to trigger 
> block report from all datanodes.
> Command maybe like this:
> *hdfs dfsadmin -triggerBlockReport \[-incremental\] 
> <datanode_host:ipc_port|all>*



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to