2005hithlj commented on code in PR #6131:
URL: https://github.com/apache/hbase/pull/6131#discussion_r1698423825
##########
hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/RestoreDriver.java:
##########
@@ -124,8 +124,8 @@ private int parseAndRun() throws IOException {
if (cmd.hasOption(OPTION_YARN_QUEUE_NAME)) {
String queueName = cmd.getOptionValue(OPTION_YARN_QUEUE_NAME);
- // Set system property value for MR job
- System.setProperty("mapreduce.job.queuename", queueName);
+ // Set MR job queuename to configuration
+ getConf().set("mapreduce.job.queuename", queueName);
Review Comment:
@NihalJain Thanks for your review. Currently, the backup command uses the
-q option to specify the yarn queue, but it does not take effect, this PR is
intended to fix this problem. Additionally, the -D way is not intuitive for
users, and we do not have any doc to explain how to use this approach
effectively.
--
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]