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

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

Introduction

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

Prototype

public float getMapBandwidth() 

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