Repository: hbase Updated Branches: refs/heads/branch-2 dd9e46bbf -> c20a2a467
HBASE-20241 splitormerge_enabled does not work Signed-off-by: Ted Yu <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/c20a2a46 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c20a2a46 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c20a2a46 Branch: refs/heads/branch-2 Commit: c20a2a4673cef9c107c594e9eca7bb86ea96ae14 Parents: dd9e46b Author: Peter Somogyi <[email protected]> Authored: Wed Mar 21 14:20:27 2018 +0100 Committer: Peter Somogyi <[email protected]> Committed: Thu Mar 22 11:59:23 2018 +0100 ---------------------------------------------------------------------- hbase-shell/src/main/ruby/hbase/admin.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/c20a2a46/hbase-shell/src/main/ruby/hbase/admin.rb ---------------------------------------------------------------------- diff --git a/hbase-shell/src/main/ruby/hbase/admin.rb b/hbase-shell/src/main/ruby/hbase/admin.rb index 078477f..f35dcb0 100644 --- a/hbase-shell/src/main/ruby/hbase/admin.rb +++ b/hbase-shell/src/main/ruby/hbase/admin.rb @@ -142,9 +142,9 @@ module Hbase def splitormerge_switch(type, enabled) switch_type = nil if type == 'SPLIT' - switch_type = org.apache.hadoop.hbase.client.Admin::MasterSwitchType::SPLIT + switch_type = org.apache.hadoop.hbase.client::MasterSwitchType::SPLIT elsif type == 'MERGE' - switch_type = org.apache.hadoop.hbase.client.Admin::MasterSwitchType::MERGE + switch_type = org.apache.hadoop.hbase.client::MasterSwitchType::MERGE else raise ArgumentError, 'only SPLIT or MERGE accepted for type!' end @@ -160,9 +160,9 @@ module Hbase def splitormerge_enabled(type) switch_type = nil if type == 'SPLIT' - switch_type = org.apache.hadoop.hbase.client.Admin::MasterSwitchType::SPLIT + switch_type = org.apache.hadoop.hbase.client::MasterSwitchType::SPLIT elsif type == 'MERGE' - switch_type = org.apache.hadoop.hbase.client.Admin::MasterSwitchType::MERGE + switch_type = org.apache.hadoop.hbase.client::MasterSwitchType::MERGE else raise ArgumentError, 'only SPLIT or MERGE accepted for type!' end
