hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: How to run data node block scanner on data node in a cluster from a remote machine?
Date Fri, 28 Mar 2014 09:53:29 GMT
Hello Reena,

No there isn't a programmatic way to invoke the block scanner. Note
though that the property to control its period is DN-local, so you can
change it on DNs and do a DN rolling restart to make it take effect
without requiring a HDFS downtime.

On Fri, Mar 28, 2014 at 3:07 PM, reena upadhyay <reena2485@outlook.com> wrote:
> How to run data node block scanner on data node in a cluster from a remote
> machine?
> By default data node executes block scanner in 504 hours. This is the
> default value of dfs.datanode.scan.period . If I want to run the data node
> block scanner then one way is to configure the property of
> dfs.datanode.scan.period in hdfs-site.xml but is there any other other way.
> Is it possible to run data node block scanner on data node either through
> command or pragmatically.



-- 
Harsh J

Mime
View raw message