hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14941) locate_region shell command
Date Thu, 10 Dec 2015 23:50:11 GMT

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

Hudson commented on HBASE-14941:
--------------------------------

SUCCESS: Integrated in HBase-1.2-IT #333 (See [https://builds.apache.org/job/HBase-1.2-IT/333/])
HBASE-14941 locate_region shell command (matteo.bertozzi: rev 512144ed26c45d96638be78da8bde402940c6224)
* hbase-shell/src/main/ruby/shell/commands/locate_region.rb
* hbase-shell/src/main/ruby/shell.rb
* hbase-shell/src/main/ruby/hbase/admin.rb


> locate_region shell command
> ---------------------------
>
>                 Key: HBASE-14941
>                 URL: https://issues.apache.org/jira/browse/HBASE-14941
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Trivial
>             Fix For: 2.0.0, 1.2.0
>
>         Attachments: HBASE-14941-v1_branch-1.patch, HBASE-14941-v2_branch-1.patch, HBASE-14941_branch-1.patch
>
>
> Sometimes it is helpful to get the region location given a specified key, without having
to scan meta and look at the keys.
> so, having in the shell something like:
> {noformat}
> hbase(main):008:0> locate_region 'testtb', 'z'
> HOST                         REGION                                                 
                         
>  localhost:42006             {ENCODED => 7486fee0129f0e3a3e671fec4a4255d5, 
>                               NAME => 'testtb,m,1449508841130.7486fee0129f0e3a3e671fec4a4255d5.',
>                               STARTKEY => 'm', ENDKEY => ''}                  
> 1 row(s) in 0.0090 seconds
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message