public static void create(Path outputFile, HiveConf hiveConf)
          throws SemanticException {
    Retryable retryable = Retryable.builder()
      .withHiveConf(hiveConf)
      .withRetryOnException(IOException.class).build();
    try {
      retryable.executeCallable((Callable<Void>) () -> {
        FileSystem fs = outputFile.getFileSystem(hiveConf);
        fs.create(outputFile).close();
        return null;
      });
    } catch (Exception e) {
      throw new SemanticException(e);
    }
  }
Given a ReplChangeManger's encoded uri, it replaces the nameservice and returns the modified encoded uri.
ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/Utils.java