Maybe just poll to see if it is in safe mode? Slightly more versatile.
On Nov 28, 2006, at 11:59 AM, Owen O'Malley (JIRA) wrote:
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: Sameer Paranjpye
Priority: Minor
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