hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Stepachev (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-12966) NPE in HMaster while recovering tables in Enabling state
Date Wed, 04 Feb 2015 12:22:34 GMT

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

Andrey Stepachev updated HBASE-12966:
-------------------------------------
    Attachment: HBASE-12966.patch

balancer returns null if no servers available for assignment.
it this patch table will be enabled, but regions remains unassigned.
the idea is that balancer will come and sort things out shortly.

alternative path is to throw excpetion, but I dont' like it

> NPE in HMaster while recovering tables in Enabling state
> --------------------------------------------------------
>
>                 Key: HBASE-12966
>                 URL: https://issues.apache.org/jira/browse/HBASE-12966
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: Andrey Stepachev
>             Fix For: 2.0.0
>
>         Attachments: HBASE-12966.patch
>
>
> {code}
> java.lang.NullPointerException
>         at org.apache.hadoop.hbase.master.handler.EnableTableHandler.handleEnableTable(EnableTableHandler.java:210)
>         at org.apache.hadoop.hbase.master.handler.EnableTableHandler.process(EnableTableHandler.java:142)
>         at org.apache.hadoop.hbase.master.AssignmentManager.recoverTableInEnablingState(AssignmentManager.java:1695)
>         at org.apache.hadoop.hbase.master.AssignmentManager.joinCluster(AssignmentManager.java:416)
>         at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:720)
>         at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:170)
>         at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1459)
>         at java.lang.Thread.run(Thread.java:745)
> 2015-02-04 16:11:45,932 FATAL [stobdtserver3:16040.activeMasterManager] master.HMaster:
Master server abort: loaded coprocessors are: [org.apache.hadoop.hbor.MultiRowMutationEndpoint]
> 2015-02-04 16:11:45,933 FATAL [stobdtserver3:16040.activeMasterManager] master.HMaster:
Unhandled exception. Starting shutdown.
> java.lang.NullPointerException
>         at org.apache.hadoop.hbase.master.handler.EnableTableHandler.handleEnableTable(EnableTableHandler.java:210)
>         at org.apache.hadoop.hbase.master.handler.EnableTableHandler.process(EnableTableHandler.java:142)
>         at org.apache.hadoop.hbase.master.AssignmentManager.recoverTableInEnablingState(AssignmentManager.java:1695)
>         at org.apache.hadoop.hbase.master.AssignmentManager.joinCluster(AssignmentManager.java:416)
>         at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:720)
>         at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:170)
>         at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1459)
>         at java.lang.Thread.run(Thread.java:745)
> {code}
> A table was trying to recover from ENABLING state and the master got the above exception.
Note that the set up was 2 master with 1 RS (total 3 machines).



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

Mime
View raw message