@ -214,7 +214,8 @@ public class HadoopUtils implements Closeable {
if ( logger . isDebugEnabled ( ) ) {
logger . debug ( "yarn application url:{}, applicationId:{}" , appUrl , applicationId ) ;
}
return String . format ( appUrl , applicationId ) ;
String activeResourceManagerPort = String . valueOf ( PropertyUtils . getInt ( Constants . HADOOP_RESOURCE_MANAGER_HTTPADDRESS_PORT , 8088 ) ) ;
return String . format ( appUrl , activeResourceManagerPort , applicationId ) ;
}
public String getJobHistoryUrl ( String applicationId ) {
@ -636,9 +637,6 @@ public class HadoopUtils implements Closeable {
/ * *
* get active resourcemanager
*
* @param rmIds
* @return
* /
public static String getAcitveRMName ( String rmIds ) {
@ -669,9 +667,6 @@ public class HadoopUtils implements Closeable {
/ * *
* get ResourceManager state
*
* @param url
* @return
* /
public static String getRMState ( String url ) {