List of usage examples for org.apache.hadoop.mapred JobConf clear
public void clear()
From source file:com.google.mr4c.hadoop.ClusterTest.java
License:Open Source License
@Test public void testRoundTrip() throws Exception { JobConf conf = new JobConf(); conf.clear(); m_cluster1.applyToConfig(conf);/*from w w w.j ava2s . c om*/ Cluster cluster = Cluster.extractFromConfig(conf); assertEquals(m_cluster1, cluster); }
From source file:com.google.mr4c.hadoop.MR4CMRJobTest.java
License:Open Source License
private JobConf newJobConf() { JobConf jobConf = new JobConf(false); jobConf.clear(); // just in case; return jobConf; }