Description
I am looking to find a python method which checks for the process that are running in the background for more than 3 hours and the user is hadoop.
I have jobs running on the emr through out the day the expected time for a job is less than 2 hours but my requirement is to find if any job is running for more than 3 hours which is running on the hadoop user.
I tried yarn application -list but no luck any help is greatly appreciated.
