List of usage examples for org.apache.hadoop.mapred JobConf getMaxMapAttempts
public int getMaxMapAttempts()
mapreduce.map.maxattempts
property. From source file:org.terrier.utility.io.TestHadoopPlugin.java
License:Mozilla Public License
protected void checkTwoJC(JobConf jc1, JobConf jc2) { jc1.set(RANDOM_PROPERTY, "notnull"); jc1.setMaxMapAttempts(3014);// w w w. j av a 2 s .c om assertNull(jc2.get(RANDOM_PROPERTY, null)); assertNotSame(3014, jc2.getMaxMapAttempts()); }