HBASE-20276 restore original shell REPL functionality where commands can return results
commitde57d08226dc5ce7596f7df82edc361c54b1b1e6
authorSean Busbey <busbey@apache.org>
Wed, 4 Apr 2018 14:37:27 +0000 (4 09:37 -0500)
committerSean Busbey <busbey@apache.org>
Fri, 6 Apr 2018 18:03:15 +0000 (6 13:03 -0500)
tree1be6d85eabb87726413572235e656f2cd5b48ba1
parentc310ef7ffd0680f8efd9a92e0a5179c02655ea6d
HBASE-20276 restore original shell REPL functionality where commands can return results

* makes commands always pass any results back to hirb
* print warning if hirb is given the --return-values flag
* add some docs on how to avoid the console clutter that HBASE-15965 sought to address
* add an upgrade section note about this change.
* cleanup where the get_splits command does its printing so there's a building block that doesn't print
* some rubocop suggested tweaks and opt-out for classlength check on table and shell classes.

Signed-off-by: Mike Drob <mdrob@apache.org>
bin/hirb.rb
hbase-shell/src/main/ruby/hbase/table.rb
hbase-shell/src/main/ruby/shell.rb
hbase-shell/src/main/ruby/shell/commands/get_splits.rb
hbase-shell/src/test/ruby/shell/noninteractive_test.rb
hbase-shell/src/test/ruby/test_helper.rb
src/main/asciidoc/_chapters/shell.adoc
src/main/asciidoc/_chapters/upgrading.adoc