[ http://issues.apache.org/jira/browse/HADOOP-756?page=comments#action_12455382 ] dhruba borthakur commented on HADOOP-756: -----------------------------------------
Ok, then i will create a new dfsadmin. Currently we have a command of the following type: bin/hadoop dfsadmin -safemode [get][set][clear] I am going to add another option: bin/hadoop dfsadmin -safemode [get][set][clear][wait] The [wait] option will cause the command to block till HDFS exists safemode. Internally, the DFSAdmin class will use a while-sleep-poll loop to wait. > 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