Java Code Examples for org.apache.hadoop.conf.Configuration.clear()

The following are Jave code examples for showing how to use clear() of the org.apache.hadoop.conf.Configuration class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: ditb   File:   Source Code and License Vote up 6 votes
@Test public void testShouldAssignDefaultZookeeperClientPort() {
  Configuration config = HBaseConfiguration.create();
  Properties p = ZKConfig.makeZKProps(config);
  assertEquals(2181, p.get("clientPort"));