Example usage for org.apache.hadoop.tools DistCpOptions getMaxMaps

List of usage examples for org.apache.hadoop.tools DistCpOptions getMaxMaps

Introduction

In this page you can find the example usage for org.apache.hadoop.tools DistCpOptions getMaxMaps.

Prototype

public int getMaxMaps() 

Source Link

Usage

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);
}