hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-18876 Backup create command fails to take queue parameter as option (Amit Kabra)
Date Mon, 25 Sep 2017 19:58:04 GMT
Repository: hbase
Updated Branches:
  refs/heads/master a5f84430a -> 0ebd4b843


HBASE-18876 Backup create command fails to take queue parameter as option (Amit Kabra)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/0ebd4b84
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0ebd4b84
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0ebd4b84

Branch: refs/heads/master
Commit: 0ebd4b8433cda51c422260f84cc9f60568a2a45c
Parents: a5f8443
Author: tedyu <yuzhihong@gmail.com>
Authored: Mon Sep 25 12:57:54 2017 -0700
Committer: tedyu <yuzhihong@gmail.com>
Committed: Mon Sep 25 12:57:54 2017 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hbase/backup/BackupDriver.java   | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/0ebd4b84/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupDriver.java
----------------------------------------------------------------------
diff --git a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupDriver.java b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupDriver.java
index 03e2e65..5f918f3 100644
--- a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupDriver.java
+++ b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupDriver.java
@@ -31,6 +31,8 @@ import static org.apache.hadoop.hbase.backup.BackupRestoreConstants.OPTION_TABLE
 import static org.apache.hadoop.hbase.backup.BackupRestoreConstants.OPTION_TABLE_DESC;
 import static org.apache.hadoop.hbase.backup.BackupRestoreConstants.OPTION_WORKERS;
 import static org.apache.hadoop.hbase.backup.BackupRestoreConstants.OPTION_WORKERS_DESC;
+import static org.apache.hadoop.hbase.backup.BackupRestoreConstants.OPTION_YARN_QUEUE_NAME;
+import static org.apache.hadoop.hbase.backup.BackupRestoreConstants.OPTION_YARN_QUEUE_NAME_DESC;
 
 import java.io.IOException;
 import java.net.URI;
@@ -154,6 +156,8 @@ public class BackupDriver extends AbstractHBaseTool {
     addOptWithArg(OPTION_RECORD_NUMBER, OPTION_RECORD_NUMBER_DESC);
     addOptWithArg(OPTION_SET, OPTION_SET_DESC);
     addOptWithArg(OPTION_PATH, OPTION_PATH_DESC);
+    addOptWithArg(OPTION_YARN_QUEUE_NAME, OPTION_YARN_QUEUE_NAME_DESC);
+    
   }
 
   @Override


Mime
View raw message