YarnClient to get the running applications list in java

2015-02-26 Thread Mouzzam Hussain
I am working with YarnClient for the 1st time. My goal is to get and display the applications running on Yarn using Java. My project setup is as follows: public static void main(String[] args) throws IOException, YarnException { // Create yarnClient YarnConfiguration conf = new

RE: YarnClient to get the running applications list in java

2015-02-26 Thread Rohith Sharma K S
Simple way to meet your goal , you can add hadoop jars into project classpath. I.e If you have hadoop package, extract it and add all the jars into project classpath. Then you change java code below YarnConfiguration conf = new YarnConfiguration();