List of usage examples for org.apache.hadoop.tools DistCpOptions getMaxMaps
public int getMaxMaps()
From source file:org.apache.falcon.replication.FeedReplicatorTest.java
License:Apache License
private void validateMandatoryArguments(DistCpOptions options, List<Path> srcPaths, boolean shouldSyncFolder) { Assert.assertEquals(options.getMaxMaps(), 3); Assert.assertEquals(options.getMapBandwidth(), 4); Assert.assertEquals(options.getSourcePaths(), srcPaths); Assert.assertEquals(options.getTargetPath(), new Path(defaultPath)); Assert.assertEquals(options.shouldSyncFolder(), shouldSyncFolder); }