You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Kyle Oba (JIRA)" <ji...@apache.org> on 2009/09/23 03:29:15 UTC
[jira] Updated: (HBASE-1859) Misc shell fixes patch.
[ https://issues.apache.org/jira/browse/HBASE-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kyle Oba updated HBASE-1859:
----------------------------
Attachment: HBASE-1859_0.20.0_r805250.patch
The attached patch contains the fixes to hirb.rb and Formatter.rb that were discussed on #hbase by @mudphone and @St^Ack. It has not yet been reviewed. Please review and let me know if you'd like anything changed.
> 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.