Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D27DE18121 for ; Fri, 4 Dec 2015 18:54:11 +0000 (UTC) Received: (qmail 27685 invoked by uid 500); 4 Dec 2015 18:54:11 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 27402 invoked by uid 500); 4 Dec 2015 18:54:11 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 27118 invoked by uid 99); 4 Dec 2015 18:54:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2015 18:54:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2B3EF2C1F7A for ; Fri, 4 Dec 2015 18:54:11 +0000 (UTC) Date: Fri, 4 Dec 2015 18:54:11 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Updated]_(HBASE-14907)_N?= =?utf-8?Q?PE_of_MobUtils.hasMobColumns_in_B?= =?utf-8?Q?uild_failed_in_Jenkins:_HBase-Tru?= =?utf-8?Q?nk=5Fmatrix_=C2=BB_latest1.8,Hadoop_#513?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-14907?page=3Dcom.atlassi= an.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.du@intel.com] > NPE of MobUtils.hasMobColumns in Build failed in Jenkins: HBase-Trunk_mat= rix =C2=BB 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 ca= n be found. > The exception looks like: > {noformat} > java.lang.NullPointerException > =09at org.apache.hadoop.hbase.mob.MobUtils.hasMobColumns(MobUtils.java:85= 1) > =09at org.apache.hadoop.hbase.master.procedure.DeleteTableProcedure.delet= eFromFs(DeleteTableProcedure.java:350) > =09at org.apache.hadoop.hbase.master.procedure.CreateTableProcedure.rollb= ackState(CreateTableProcedure.java:167) > =09at org.apache.hadoop.hbase.master.procedure.CreateTableProcedure.rollb= ackState(CreateTableProcedure.java:57) > =09at org.apache.hadoop.hbase.procedure2.StateMachineProcedure.rollback(S= tateMachineProcedure.java:134) > =09at org.apache.hadoop.hbase.procedure2.Procedure.doRollback(Procedure.j= ava:467) > =09at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.executeRollbac= k(ProcedureExecut > {noformat} > In this patch, it directly checks if the mob directory is existing instea= d of checking the HTableDescriptor. -- This message was sent by Atlassian JIRA (v6.3.4#6332)