public static void rename(FileSystem fs, Path src, Path dst) throws IOException, HiveException {
    if (!fs.rename(src, dst)) {
      throw new HiveException("Unable to move: " + src + " to: " + dst);
    }
  }
Rename src to dst, or in the case dst already exists, move files in src to dst. If there is an
existing file with the same name, the new file's name will be appended with "_1", "_2", etc.

@param fs
         the FileSystem where src and dst are on.
@param src
         the src directory
@param dst
         the target directory
@throws IOException
ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java