@Test public void testPropertyOverrideRespected() throws Exception { final Configuration conf = HBaseConfiguration.create(); final Properties props = new Properties(); props.setProperty(HConstants.HBASE_RPC_TIMEOUT_KEY, Long.toString(HConstants.DEFAULT_HBASE_RPC_TIMEOUT * 10)); Properties combinedProps = PropertiesUtil.combineProperties(props, conf); assertEquals(combinedProps.getProperty(HConstants.HBASE_RPC_TIMEOUT_KEY), Long.toString(HConstants.DEFAULT_HBASE_RPC_TIMEOUT * 10)); }
public static Properties combineProperties(Properties props, final Configuration conf) { return combineProperties(props, conf, Collections.<String>emptySet()); }
PropertiesUtil { public static Properties combineProperties(Properties props, final Configuration conf) { return combineProperties(props, conf, Collections.<String>emptySet()); } }
PropertiesUtil { public static Properties combineProperties(Properties props, final Configuration conf) { return combineProperties(props, conf, Collections.<String>emptySet()); } private  PropertiesUtil(); }
PropertiesUtil { public static Properties combineProperties(Properties props, final Configuration conf) { return combineProperties(props, conf, Collections.<String>emptySet()); } private  PropertiesUtil(); static Properties deepCopy(Properties properties); static Properties combineProperties(Properties props, final Configuration conf); static Properties combineProperties(Properties props, final Configuration conf, Set<String> withoutTheseProps); static Configuration cloneConfig(Configuration toCopy); }
PropertiesUtil { public static Properties combineProperties(Properties props, final Configuration conf) { return combineProperties(props, conf, Collections.<String>emptySet()); } private  PropertiesUtil(); static Properties deepCopy(Properties properties); static Properties combineProperties(Properties props, final Configuration conf); static Properties combineProperties(Properties props, final Configuration conf, Set<String> withoutTheseProps); static Configuration cloneConfig(Configuration toCopy);  }