sankarh commented on a change in pull request #551: HIVE-21286: Hive should 
support clean-up of previously bootstrapped tables when retry from different 
dump.
URL: https://github.com/apache/hive/pull/551#discussion_r262814921
 
 

 ##########
 File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplLoadTask.java
 ##########
 @@ -298,25 +298,26 @@ a database ( directory )
    * @throws IOException File operations failure.
    * @throws InvalidInputException Invalid input dump directory.
    */
-  private void bootstrapRollbackTask() throws HiveException, IOException, 
InvalidInputException {
-    Path bootstrapDirectory = new PathBuilder(work.bootstrapDumpToRollback)
+  private void cleanTablesFromBootstrap() throws HiveException, IOException, 
InvalidInputException {
+    Path bootstrapDirectory = new PathBuilder(work.bootstrapDumpToCleanTables)
             .addDescendant(ReplUtils.INC_BOOTSTRAP_ROOT_DIR_NAME).build();
     FileSystem fs = bootstrapDirectory.getFileSystem(conf);
 
     if (!fs.exists(bootstrapDirectory)) {
-      throw new InvalidInputException("Input bootstrap dump directory to 
rollback doesn't exist: "
+      throw new InvalidInputException("Input bootstrap dump directory to clean 
tables is invalid: "
 
 Review comment:
   Done

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to