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-14907) NPE of MobUtils.hasMobColumns in Build failed in Jenkins: HBase-Trunk_matrix » latest1.8,Hadoop #513
Date Sat, 05 Dec 2015 06:25:11 GMT

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

Hudson commented on HBASE-14907:
--------------------------------

FAILURE: Integrated in HBase-Trunk_matrix #533 (See [https://builds.apache.org/job/HBase-Trunk_matrix/533/])
HBASE-14907 NPE of MobUtils.hasMobColumns in Build failed in Jenkins: (stack: rev c6b8e6f1ac4aebb996d793b1cae0a95dd343db92)
* hbase-server/src/test/java/org/apache/hadoop/hbase/master/procedure/TestCreateTableProcedure.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/DeleteTableProcedure.java


> 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)

Mime
View raw message