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 4D3571890C for ; Thu, 3 Dec 2015 19:19:11 +0000 (UTC) Received: (qmail 27935 invoked by uid 500); 3 Dec 2015 19:19:11 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 27883 invoked by uid 500); 3 Dec 2015 19:19: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 27854 invoked by uid 99); 3 Dec 2015 19:19:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2015 19:19:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EDF2A2C1F6B for ; Thu, 3 Dec 2015 19:19:10 +0000 (UTC) Date: Thu, 3 Dec 2015 19:19:10 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Commented]_(HBASE-14907)_?= =?utf-8?Q?NPE_of_MobUtils.hasMobColumns_in_?= =?utf-8?Q?Build_failed_in_Jenkins:_HBase-Tr?= =?utf-8?Q?unk=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.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D150= 38390#comment-15038390 ]=20 Ted Yu commented on HBASE-14907: -------------------------------- lgtm > 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 > 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. > 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)