hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15611) add examples to shell docs
Date Fri, 08 Apr 2016 22:01:25 GMT

    [ https://issues.apache.org/jira/browse/HBASE-15611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15233035#comment-15233035

Sean Busbey commented on HBASE-15611:

h3. how do I list all the regions for a table?

hbase(main):017:0> example_table = get_table ‘MyTable’
hbase(main):018:0> @hbase.admin(@formatter).instance_eval do @admin.get_table_regions(example_table.table.get_name).each
do |region|
hbase(main):019:2*   p region.to_string
hbase(main):020:2> end end

> add examples to shell docs 
> ---------------------------
>                 Key: HBASE-15611
>                 URL: https://issues.apache.org/jira/browse/HBASE-15611
>             Project: HBase
>          Issue Type: Improvement
>          Components: documentation, shell
>            Reporter: Sean Busbey
>              Labels: beginner
>             Fix For: 2.0.0
> It would be nice if our shell documentation included some additional examples of operational
tasks one can perform.
> things to include to come in comments. when we have a patch to submit we can update the
jira summary to better reflect what scope we end up with.

This message was sent by Atlassian JIRA

View raw message