[
https://issues.apache.org/jira/browse/HBASE-29909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18087562#comment-18087562
]
Hudson commented on HBASE-29909:
--------------------------------
Results for branch branch-2.5
[build #73 on
builds.a.o|https://ci-hbase.apache.org/job/HBase-Integration-Test/job/branch-2.5/73/]:
(/) *{color:green}+1 overall{color}*
----
details (if available):
(/) {color:green}+1 client integration test for 2.10.2 {color}
(/) {color:green}+1 client integration test for 3.2.4 {color}
(/) {color:green}+1 client integration test for 3.3.5 {color}
(/) {color:green}+1 client integration test for 3.3.5 with shaded hadoop
client{color}
(/) {color:green}+1 client integration test for 3.3.6 {color}
(/) {color:green}+1 client integration test for 3.3.6 with shaded hadoop
client{color}
(/) {color:green}+1 client integration test for 3.4.0 {color}
(/) {color:green}+1 client integration test for 3.4.0 with shaded hadoop
client{color}
(/) {color:green}+1 client integration test for 3.4.1 {color}
(/) {color:green}+1 client integration test for 3.4.1 with shaded hadoop
client{color}
(/) {color:green}+1 client integration test for 3.4.2 {color}
(/) {color:green}+1 client integration test for 3.4.2 with shaded hadoop
client{color}
(/) {color:green}+1 client integration test for 3.4.3 {color}
(/) {color:green}+1 client integration test for 3.4.3 with shaded hadoop
client{color}
> RegionMover ignores configuration properties passed via -D on the command line
> ------------------------------------------------------------------------------
>
> Key: HBASE-29909
> URL: https://issues.apache.org/jira/browse/HBASE-29909
> Project: HBase
> Issue Type: Bug
> Reporter: Junegunn Choi
> Assignee: Junegunn Choi
> Priority: Minor
> Labels: pull-request-available
> Fix For: 2.7.0, 3.0.0-beta-2, 2.5.16, 2.6.7
>
>
> h2. Problem
> When running RegionMover from the command line, Hadoop configuration
> properties passed via {{-D}} are silently ignored.
> For example:
> {code}
> hbase org.apache.hadoop.hbase.util.RegionMover -Dhbase.move.wait.max=600 -r
> host -o unload
> {code}
> The {{-Dhbase.move.wait.max=600}} has no effect.
> h2. Cause
> {{AbstractHBaseTool.doStaticMain}} calls
> {{ToolRunner.run(HBaseConfiguration.create(), this, args)}}, which correctly
> parses {{-D}} properties and sets them on the tool's {{Configuration}} via
> {{setConf()}}.
> However, {{RegionMover.processOptions}} then creates a {{new
> RegionMoverBuilder(hostname)}} using the single-argument constructor,
> discarding the configuration from ToolRunner.
> h2. Fix
> Change {{processOptions}} to pass the tool's existing configuration to the
> two-arg constructor:
> {code:java}
> rmbuilder = new RegionMoverBuilder(hostname, getConf());
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)