You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2020/03/13 10:17:02 UTC

[GitHub] [hive] maheshk114 commented on a change in pull request #949: HIVE-22990 Add file based ack for replication

maheshk114 commented on a change in pull request #949: HIVE-22990 Add file based ack for replication
URL: https://github.com/apache/hive/pull/949#discussion_r392028251
 
 

 ##########
 File path: ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/Utils.java
 ##########
 @@ -82,6 +82,16 @@ public static void writeOutput(List<List<String>> listValues, Path outputFile, H
     }
   }
 
+  public static void write(Path outputFile, HiveConf hiveConf)
+          throws SemanticException {
+    try {
+      FileSystem fs = outputFile.getFileSystem(hiveConf);
+      fs.create(outputFile);
 
 Review comment:
   add retry logic

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org