public boolean shouldBlock() {
    return blocking;
  }
@Test
  public void testSetBlokcing() {
    final DistCpOptions.Builder builder = new DistCpOptions.Builder(
        Collections.singletonList(new Path("hdfs://localhost:8020/source")),
        new Path("hdfs://localhost:8020/target/"));
    Assert.assertTrue(builder.build().shouldBlock());

    builder.withBlocking(false);
    Assert.assertFalse(builder.build().shouldBlock());
  }