private void createPartitionsDirectoriesOnFS(Table table, int numPartitions) throws IOException {
    createPartitionsDirectoriesOnFS(table, numPartitions, false);
  }
Creates partition sub-directories for a given table on the file system. Used to test the
use-cases when partitions for the table are not present in the metastore db

@param table - Table which provides the base locations and partition specs for creating the
         sub-directories
@param numPartitions - Number of partitions to be created
@param reverseOrder - If set to true creates the partition sub-directories in the reverse order
         of specified by partition keys defined for the table
@throws IOException ex
ql/src/test/org/apache/hadoop/hive/ql/metadata/TestHiveMetaStoreChecker.java