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

Hudson commented on HBASE-20287:
--------------------------------

Results for branch HBASE-19064
        [build #90 on 
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/HBASE-19064/90/]: 
(x) *{color:red}-1 overall{color}*
----
details (if available):

(x) {color:red}-1 general checks{color}
-- For more information [see general 
report|https://builds.apache.org/job/HBase%20Nightly/job/HBASE-19064/90//General_Nightly_Build_Report/]




(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://builds.apache.org/job/HBase%20Nightly/job/HBASE-19064/90//JDK8_Nightly_Build_Report_(Hadoop2)/]


(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://builds.apache.org/job/HBase%20Nightly/job/HBASE-19064/90//JDK8_Nightly_Build_Report_(Hadoop3)/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


> After cluster startup list_regions command fails on disabled table
> ------------------------------------------------------------------
>
>                 Key: HBASE-20287
>                 URL: https://issues.apache.org/jira/browse/HBASE-20287
>             Project: HBase
>          Issue Type: Sub-task
>          Components: shell
>    Affects Versions: 2.0.0
>            Reporter: Peter Somogyi
>            Assignee: Peter Somogyi
>            Priority: Minor
>             Fix For: 3.0.0, 2.1.0, 2.0.0
>
>         Attachments: HBASE-20287.master.001.patch
>
>
> After cluster startup list_regions throw “ERROR: undefined method `toString' 
> for nil:NilClass”. If you enable the table and disable it you don't see the 
> error again, only after cluster startup. 
> {noformat}
> After startup list_regions throw “ERROR: undefined method `toString' for 
> nil:NilClass”.
> hbase(main):009:0> list_regions 'ltt'
> ERROR: undefined method `toString' for nil:NilClass
>        List all regions for a particular table as an array and also filter 
> them by server name (optional) as prefix
>        and maximum locality (optional). By default, it will return all the 
> regions for the table with any locality.
>        The command displays server name, region name, start key, end key, 
> size of the region in MB, number of requests
>        and the locality. The information can be projected out via an array as 
> third parameter. By default all these information
>        is displayed. Possible array values are SERVER_NAME, REGION_NAME, 
> START_KEY, END_KEY, SIZE, REQ and LOCALITY. Values
>        are not case sensitive. If you don't want to filter by server name, 
> pass an empty hash / string as shown below.
>        Examples:
>        hbase> list_regions 'table_name'
>        hbase> list_regions 'table_name', 'server_name'
>        hbase> list_regions 'table_name', {SERVER_NAME => 'server_name', 
> LOCALITY_THRESHOLD => 0.8}
>        hbase> list_regions 'table_name', {SERVER_NAME => 'server_name', 
> LOCALITY_THRESHOLD => 0.8}, ['SERVER_NAME']
>        hbase> list_regions 'table_name', {}, ['SERVER_NAME', 'start_key']
>        hbase> list_regions 'table_name', '', ['SERVER_NAME', 'start_key']
> Took 0.0283 seconds{noformat}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to