Elliot Miller created HBASE-24806:
-------------------------------------
Summary: Small Updates to Functionality of Shell IRB Workspace
Key: HBASE-24806
URL: https://issues.apache.org/jira/browse/HBASE-24806
Project: HBase
Issue Type: Sub-task
Components: shell
Affects Versions: 3.0.0-alpha-1
Reporter: Elliot Miller
Assignee: Elliot Miller
Fix For: 3.0.0-alpha-1
There are a few amendments I want to make to the first patch for shell IRB
workspaces:
# Hide the new warning: "irb: warn: can't alias help from irb_help."
# Split Shell::Shell#eval_io into eval_io and exception_handler. This will be
a better separation of concerns for both usage and testing.
## Why is this change so important? At the moment, eval_io may raise
SystemExit, which would cause the ruby test executor to quit without running
all tests. The method eval_io also used to refer to a global variable
$fullTraceback, which is a poor separation of concerns.
# Allow finding script2run in the load path. While undocumented, the 2.x shell
did this, so we may need to do this for compatibility.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)