[
http://issues.apache.org/jira/browse/HADOOP-756?page=comments#action_12455715 ]
Raghu Angadi commented on HADOOP-756:
-------------------------------------
5 second sleep is very long. Also no do we need to throw an exception when
interrupted?
I would write :-)
while ( !( done = isDone() ) ) {
sleep(100);
}
> new dfsadmin command to wait until safe mode is exited
> ------------------------------------------------------
>
> Key: HADOOP-756
> URL: http://issues.apache.org/jira/browse/HADOOP-756
> Project: Hadoop
> Issue Type: Improvement
> Components: dfs
> Affects Versions: 0.8.0
> Reporter: Owen O'Malley
> Assigned To: dhruba borthakur
> Priority: Minor
> Attachments: safemodewait1.patch
>
>
> I would like to have a dfsadmin command that waits until dfs leaves safemode.
> I want to be able to have my start up scripts wait until dfs is up before
> starting my jobtracker.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira