Is it possible to check whether hadoop cluster is yarn enabled using java? -


i know how enable yarn in cluster providing value of mapreduce.framework.name yarn in mapred.xml file. want know via java api whether possible know yarn enabled or not when know fs.defaultfs.

try contacting yarn web services , decide based on whether receive response or not , if information provides application,either error message or success.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -