@Test public void testSetDfsName() throws ConfigurationException { PropertyUtil.setDfsName("hdfs: String url = PropertyUtil.getDfsName(); Assert.assertNotNull(url); }
public static void setDfsName(String dfsName) throws ConfigurationException { PropertiesConfiguration config = new PropertiesConfiguration(adminPropertyFileName); config.setProperty("dfs.default.name", dfsName); config.save(); }
PropertyUtil { public static void setDfsName(String dfsName) throws ConfigurationException { PropertiesConfiguration config = new PropertiesConfiguration(adminPropertyFileName); config.setProperty("dfs.default.name", dfsName); config.save(); } }
PropertyUtil { public static void setDfsName(String dfsName) throws ConfigurationException { PropertiesConfiguration config = new PropertiesConfiguration(adminPropertyFileName); config.setProperty("dfs.default.name", dfsName); config.save(); }  }
PropertyUtil { public static void setDfsName(String dfsName) throws ConfigurationException { PropertiesConfiguration config = new PropertiesConfiguration(adminPropertyFileName); config.setProperty("dfs.default.name", dfsName); config.save(); }  static void setTargetUrl(String targetUrl); static String getTargetUrl(); static void setDfsName(String dfsName); static String getDfsName(); }
PropertyUtil { public static void setDfsName(String dfsName) throws ConfigurationException { PropertiesConfiguration config = new PropertiesConfiguration(adminPropertyFileName); config.setProperty("dfs.default.name", dfsName); config.save(); }  static void setTargetUrl(String targetUrl); static String getTargetUrl(); static void setDfsName(String dfsName); static String getDfsName(); static String adminPropertyFileName; }