From 34b4b62d5a70301eed6fda9e52883c70007483dc Mon Sep 17 00:00:00 2001 From: stack Date: Thu, 6 Dec 2018 23:05:21 -0800 Subject: [PATCH] HBASE-21567 Allow overriding configs starting up the shell Adds support for -D as option to 'hbase shell' --- bin/hirb.rb | 40 +++++++++++++++++++++----- src/main/asciidoc/_chapters/shell.adoc | 16 +++++++++++ 2 files changed, 49 insertions(+), 7 deletions(-) diff --git a/bin/hirb.rb b/bin/hirb.rb index 790ecdc276..a40fa953a6 100644 --- a/bin/hirb.rb +++ b/bin/hirb.rb @@ -54,21 +54,47 @@ $LOAD_PATH.unshift Pathname.new(sources) cmdline_help = < @shell.hbase.configuration.get("hbase.zookeeper.quorum") +=> "ZK0.remote.cluster.example.org,ZK1.remote.cluster.example.org,ZK2.remote.cluster.example.org" +hbase(main):002:0> @shell.hbase.configuration.get("raining") +=> "false" +---- + == Shell Tricks === Table variables -- 2.19.1