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
Post a Comment