[
https://issues.apache.org/jira/browse/HBASE-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack resolved HBASE-1859.
--------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Very nice patch. Thanks Kyle. Applied branch and trunk.
> Misc shell fixes patch.
> -----------------------
>
> Key: HBASE-1859
> URL: https://issues.apache.org/jira/browse/HBASE-1859
> Project: Hadoop HBase
> Issue Type: Bug
> Components: scripts
> Environment: Running hbase shell on all platforms.
> Reporter: Kyle Oba
> Priority: Minor
> Attachments: HBASE-1859_0.20.0_r805250.patch
>
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> Miscellaneous fixes to HBase shell:
> 1) instantiated @formatter in hirb.rb grabs STDOUT, does not allow
> interactive trapping of STDOUT during shell session
> 2) passed script to HBase shell does not have access to HBase commands
> Possible fixes:
> 1) Instead of explicitly passing STDOUT to Formatter constructor, can use
> default Kernel, which will hook into STDOUT when called.
> 2) Can move load of script2load to after the HBase shell methods are defined,
> thus giving access to these methods to the loaded script.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.