[ https://issues.apache.org/jira/browse/HADOOP-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546317 ]
Arun C Murthy commented on HADOOP-2266: --------------------------------------- The other other issue is see with the JT shutting itself down is that the TTs (and HoD) don't know why that happened. If we just implement the *isidle <for_this_long>*, we could let HoD make the decision to shut down the entire cluster via the usual scripts... thoughts? > Provide a command line option to check if a Hadoop jobtracker is idle > --------------------------------------------------------------------- > > Key: HADOOP-2266 > URL: https://issues.apache.org/jira/browse/HADOOP-2266 > Project: Hadoop > Issue Type: New Feature > Components: mapred > Reporter: Hemanth Yamijala > Fix For: 0.16.0 > > > This is an RFE for providing a way to determine from the hadoop command line > whether a jobtracker is idle. One possibility is to have something like > hadoop jobtracker -idle <time>. Hadoop would return true (maybe via some > stdout output) if the jobtracker had no work to do (jobs running / prepared) > since <time> seconds, false otherwise. > This would be useful for management / provisioning systems like > Hadoop-On-Demand [HADOOP-1301], which can then deallocate the idle, > provisioned clusters automatically, and release resources. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.