@Override
            public Pair<Path, Path> call() throws HiveException {
              SessionState.setCurrentSessionState(parentSession);

              try {
                Path destPath =
                    mvFile(conf, srcFs, srcP, destFs, destf, isSrcLocal, isOverwrite, isRenameAllowed, finalTaskId);

                if (null != newFiles) {
                  newFiles.add(destPath);
                }
                return Pair.of(srcP, destPath);
              } catch (Exception e) {
                throw getHiveException(e, msg);
              }
            }
@param objectType
         hive object type
@param principalName
@param principalType
@param dbName
@param tableName
@param partValues
@param columnName
@return list of privileges
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java