@Override
  public boolean rename(Path src, Path dst) throws IOException {
    // Make sure for existing destination we return false as per FileSystem api contract
    return super.isFile(dst) ? false : super.rename(src, dst);
  }
This class is to workaround existing issues on LocalFileSystem.
ql/src/java/org/apache/hadoop/hive/ql/io/ProxyLocalFileSystem.java