From 7a1c1216782d534efa409d2c5b3c1dc69b19160b Mon Sep 17 00:00:00 2001 From: tedyu Date: Fri, 1 Sep 2017 08:43:55 -0700 Subject: [PATCH] HBASE-17826 Backup: submit M/R job to a particular Yarn queue - addendum fixes variable name (Vladimir Rodionov) --- .../org/apache/hadoop/hbase/backup/impl/BackupCommands.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 eaba0495952..5b91e345a9e 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);) {