[
https://issues.apache.org/jira/browse/HBASE-9449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13762275#comment-13762275
]
Jonathan Hsieh commented on HBASE-9449:
---------------------------------------
I'm going to commit this and them come back for the cleanup in another patch.
There actually is an example in the section:
{code}
hbase(main):016 > tables = list(‘t.*’)
TABLE
t
1 row(s) in 0.1040 seconds
=> #<#<Class:0x7677ce29>:0x21d377a4>
hbase(main):017:0> tables.map { |t| disable t ; drop t}
0 row(s) in 2.2510 seconds
=> [nil]
hbase(main):018:0>
{code}
> document how to use shell enhancements from HBASE-5548
> ------------------------------------------------------
>
> Key: HBASE-9449
> URL: https://issues.apache.org/jira/browse/HBASE-9449
> Project: HBase
> Issue Type: Bug
> Reporter: Jonathan Hsieh
> Assignee: Jonathan Hsieh
> Attachments: hbase-9449.patch, shell.html
>
>
> HBASE-5548 introduced new behavior for shell commands like 'list' to make
> them act more ruby-like. There is no documentation for this in the refguide.
> We should
> 1) have an example in the shell sectoin
> 2) document the that new '=> #xxx.x..' line is expected
> We can probably lift a bunch of docs from HBASE-5548.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira