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

Receive udp packets in android gstreamer -

php - Extract Text from HTTP referer -

c# - ASP.NET MVC Enumerable to delimited HTML in Razor -