@Test(expected = IllegalArgumentException.class)
public void testValidateModulusPartitionWithException() throws IOException {

  List<Path> parts = HFileGenerator.generateHFiles(fs, conf, tempFolder,
      PartitionerType.CASCADING, 10, 1000);
  uploader.validate(parts, PartitionerType.MODULUS, 10);
}