private static void addFilesToPathSet(Collection<FileStatus> files, Set<FileStatus> fileSet) {
    for (FileStatus file : files) {
      fileSet.add(file);
    }
  }
Check the existence of buckets according to bucket specification. Create empty buckets if
needed.

@param hconf The definition of the FileSink.
@param paths A list of empty buckets to create
@param reporter The mapreduce reporter object
@throws HiveException
@throws IOException
ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java