bbeaudreault commented on code in PR #4933:
URL: https://github.com/apache/hbase/pull/4933#discussion_r1069751725


##########
hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestRemoteRestore.java:
##########
@@ -72,4 +80,46 @@ public void testFullRestoreRemote() throws Exception {
     TEST_UTIL.deleteTable(table1_restore);
     hba.close();
   }
+
+  @Test
+  public void testFullRestoreRemoteWithAlternateRestoreOutputDir() throws 
Exception {
+    LOG.info("test remote full backup on a single table with alternate restore 
output dir");
+    String backupId =
+      backupTables(BackupType.FULL, toList(table1.getNameAsString()), 
BACKUP_REMOTE_ROOT_DIR);
+    LOG.info("backup complete");
+    TableName[] tableset = new TableName[] { table1 };
+    TableName[] tablemap = new TableName[] { table1_restore };
+
+    HBaseTestingUtil mrTestUtil = new HBaseTestingUtil();

Review Comment:
   can you add a comment here about why we need a 3rd cluster. or add a javadoc 
to the test method explaining the scenario



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to