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

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