@Test public void testGetRMHostName(){ Configuration config = HBaseConfiguration.create(); String testRMAddress = "testRMhostName:portnumber"; String address = PhoenixMRJobUtil.getRMWebAddress(config); assertEquals(YarnConfiguration.DEFAULT_RM_WEBAPP_ADDRESS, address); config.set(YarnConfiguration.RM_WEBAPP_ADDRESS, testRMAddress); address = PhoenixMRJobUtil.getRMWebAddress(config); assertEquals(testRMAddress, address); address = PhoenixMRJobUtil.getRMWebAddress(config, "rm11"); assertEquals(YarnConfiguration.DEFAULT_RM_WEBAPP_ADDRESS, address); config.set(YarnConfiguration.RM_WEBAPP_ADDRESS + ".rm11", testRMAddress); address = PhoenixMRJobUtil.getRMWebAddress(config, "rm11"); assertEquals(testRMAddress, address); }
public static String getRMWebAddress(Configuration config){ return config.get(YarnConfiguration.RM_WEBAPP_ADDRESS, YarnConfiguration.DEFAULT_RM_WEBAPP_ADDRESS); }
PhoenixMRJobUtil { public static String getRMWebAddress(Configuration config){ return config.get(YarnConfiguration.RM_WEBAPP_ADDRESS, YarnConfiguration.DEFAULT_RM_WEBAPP_ADDRESS); } }
PhoenixMRJobUtil { public static String getRMWebAddress(Configuration config){ return config.get(YarnConfiguration.RM_WEBAPP_ADDRESS, YarnConfiguration.DEFAULT_RM_WEBAPP_ADDRESS); }  }
PhoenixMRJobUtil { public static String getRMWebAddress(Configuration config){ return config.get(YarnConfiguration.RM_WEBAPP_ADDRESS, YarnConfiguration.DEFAULT_RM_WEBAPP_ADDRESS); }  static String getRMWebAddress(Configuration config); static String getRMWebAddress(Configuration config, String Rmid); static String getActiveResourceManagerAddress(Configuration config, String zkQuorum); static String getJobsInformationFromRM(String rmAddress,
            Map<String, String> urlParams); static String getTextContent(InputStream is); static void shutdown(ExecutorService pool); static void updateCapacityQueueInfo(Configuration conf); }
PhoenixMRJobUtil { public static String getRMWebAddress(Configuration config){ return config.get(YarnConfiguration.RM_WEBAPP_ADDRESS, YarnConfiguration.DEFAULT_RM_WEBAPP_ADDRESS); }  static String getRMWebAddress(Configuration config); static String getRMWebAddress(Configuration config, String Rmid); static String getActiveResourceManagerAddress(Configuration config, String zkQuorum); static String getJobsInformationFromRM(String rmAddress,
            Map<String, String> urlParams); static String getTextContent(InputStream is); static void shutdown(ExecutorService pool); static void updateCapacityQueueInfo(Configuration conf); static final String PHOENIX_INDEX_MR_QUEUE_NAME_PROPERTY; static final String PHOENIX_INDEX_MR_MAP_MEMORY_PROPERTY; static final String PHOENIX_MR_CONCURRENT_MAP_LIMIT_PROPERTY; static final String DEFAULT_QUEUE_NAME; static final int DEFAULT_MR_CONCURRENT_MAP_LIMIT; static final int DEFAULT_MAP_MEMROY_MB; static final String XMX_OPT; static final String RM_HTTP_SCHEME; static final int RM_CONNECT_TIMEOUT_MILLIS; static final int RM_READ_TIMEOUT_MILLIS; static final String PHOENIX_MR_SCHEDULER_TYPE_NAME; }