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-17826 Backup: submit M/R job to a particular Yarn queue - addendum fixes variable name (Vladimir Rodionov)
Date Fri, 01 Sep 2017 15:44:05 GMT
Repository: hbase
Updated Branches:
  refs/heads/master fb537fe73 -> 7a1c12167


HBASE-17826 Backup: submit M/R job to a particular Yarn queue - addendum fixes variable name
(Vladimir Rodionov)


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

Branch: refs/heads/master
Commit: 7a1c1216782d534efa409d2c5b3c1dc69b19160b
Parents: fb537fe
Author: tedyu <yuzhihong@gmail.com>
Authored: Fri Sep 1 08:43:55 2017 -0700
Committer: tedyu <yuzhihong@gmail.com>
Committed: Fri Sep 1 08:43:55 2017 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/backup/impl/BackupCommands.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/7a1c1216/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/BackupCommands.java
----------------------------------------------------------------------
diff --git a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/BackupCommands.java
b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/BackupCommands.java
index eaba049..5b91e34 100644
--- a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/BackupCommands.java
+++ b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/BackupCommands.java
@@ -324,9 +324,9 @@ public final class BackupCommands {
               .getOptionValue(OPTION_WORKERS)) : -1;
 
       if (cmdline.hasOption(OPTION_YARN_QUEUE_NAME)) {
-        String poolName = cmdline.getOptionValue(OPTION_YARN_QUEUE_NAME);
+        String queueName = cmdline.getOptionValue(OPTION_YARN_QUEUE_NAME);
         // Set system property value for MR job
-        System.setProperty("mapreduce.job.queuename", poolName);
+        System.setProperty("mapreduce.job.queuename", queueName);
       }
 
       try (BackupAdminImpl admin = new BackupAdminImpl(conn);) {


Mime
View raw message