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

stack updated HBASE-14907:
--------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 2.0.0
           Status: Resolved  (was: Patch Available)

Pushed to master. Thanks for taking the time to look into the test failure 
[~jingcheng...@intel.com]

> NPE of MobUtils.hasMobColumns in Build failed in Jenkins: HBase-Trunk_matrix 
> » latest1.8,Hadoop #513
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-14907
>                 URL: https://issues.apache.org/jira/browse/HBASE-14907
>             Project: HBase
>          Issue Type: Bug
>          Components: mob
>            Reporter: Jingcheng Du
>            Assignee: Jingcheng Du
>             Fix For: 2.0.0
>
>         Attachments: HBASE-14907-V2.patch, HBASE-14907.patch
>
>
> NPE is thrown when rollback the failures of table creation.
> 1. Table is being created, get issues when creating fs layout.
> 2. Rollback this creation and trying to delete the data from fs. It tries to 
> delete the mob dir and needs to ask HMaster about the HTableDescriptor, and 
> at that time the table dir had been deleted and no HTableDescriptor can be 
> found.
> The exception looks like:
> {noformat}
> java.lang.NullPointerException
>       at org.apache.hadoop.hbase.mob.MobUtils.hasMobColumns(MobUtils.java:851)
>       at 
> org.apache.hadoop.hbase.master.procedure.DeleteTableProcedure.deleteFromFs(DeleteTableProcedure.java:350)
>       at 
> org.apache.hadoop.hbase.master.procedure.CreateTableProcedure.rollbackState(CreateTableProcedure.java:167)
>       at 
> org.apache.hadoop.hbase.master.procedure.CreateTableProcedure.rollbackState(CreateTableProcedure.java:57)
>       at 
> org.apache.hadoop.hbase.procedure2.StateMachineProcedure.rollback(StateMachineProcedure.java:134)
>       at 
> org.apache.hadoop.hbase.procedure2.Procedure.doRollback(Procedure.java:467)
>       at 
> org.apache.hadoop.hbase.procedure2.ProcedureExecutor.executeRollback(ProcedureExecut
> {noformat}
> In this patch, it directly checks if the mob directory is existing instead of 
> checking the HTableDescriptor.



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

Reply via email to