Hi, Cluster.java <https://github.com/apache/hadoop/blob/f67237cbe7bc48a1b9088e990800b37529f1db2a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Cluster.java#L50> "provides a way to access information about the map/reduce cluster". So in Java code, I could do something like:
Configuration conf = new Configuration(...); Cluster cluster = new Cluster(conf); cluster.getClusterStatus(); Is there an equivalent for the JobHistoryServer? I have found REST APIs <https://hadoop.apache.org/docs/r2.4.1/hadoop-yarn/hadoop-yarn-site/HistoryServerRest.html>, but I haven't been able to find a Java class. Any help would be appreciated! Thanks, Benson
