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

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

Introduction

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

Prototype

public boolean shouldSyncFolder() 

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