[ 
https://issues.apache.org/jira/browse/HBASE-18894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mike Drob updated HBASE-18894:
------------------------------
    Attachment: HBASE-18894-v3-master.patch

The first seven warnings are repeated and show up as new because line numbers 
shifted I think. The last two in rubocop are actually new and straightforward 
to fix.

{noformat}
/testptch/hbase/hbase-shell/src/main/ruby/shell/commands/list_regions.rb:167:9: 
C: Use a guard clause instead of wrapping the code inside a conditional 
expression.
/testptch/hbase/hbase-shell/src/main/ruby/shell/commands/list_regions.rb:173:21:
 C: Use `each_value` instead of `each`.
{noformat}

Attaching a patch that addresses them as well.

> null pointer exception in list_regions in shell command
> -------------------------------------------------------
>
>                 Key: HBASE-18894
>                 URL: https://issues.apache.org/jira/browse/HBASE-18894
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha-3
>            Reporter: Yi Liang
>            Assignee: Yi Liang
>             Fix For: 2.0.0
>
>         Attachments: HBASE-18894-v1-master.patch, 
> HBASE-18894-v2-master.patch, HBASE-18894-v3-master.patch
>
>
> See this error when run list_regions command After disable 't1'
> or after running split 't1', will see this error before split complete
> this caused by region is disabled or still in transition
> {quote}
> list_regions 't1'
> ERROR: undefined method `getDataLocality' for nil:NilClass
> {quote}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to