hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anfernee Xu <anfernee...@gmail.com>
Subject how to reduce delay in HDFS restart
Date Mon, 21 Jul 2014 23:24:22 GMT
Hi,

For some reason, all PIDs file are missing in my cluster, I have to
manually kill all java processes on all machines, then I restarted the
HDFS, but it took so long time in applying changes in edit log file, so my
question is how can I reduce the delay? My understanding is as follows,
could someone please give some comments on it?

    hadoop dfsadmin -safemode enter

    #save current in-mem data to image file and reset edit log
    hadoop dfsadmin -saveNamespace


-- 
--Anfernee

Mime
View raw message