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 6A29F1868C for ; Thu, 26 Nov 2015 07:53:11 +0000 (UTC) Received: (qmail 31844 invoked by uid 500); 26 Nov 2015 07:53:11 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 31793 invoked by uid 500); 26 Nov 2015 07:53: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 31751 invoked by uid 99); 26 Nov 2015 07:53:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2015 07:53:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F0D292C1F58 for ; Thu, 26 Nov 2015 07:53:10 +0000 (UTC) Date: Thu, 26 Nov 2015 07:53:10 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-14885) NullPointerException in HMaster#normalizeRegions() due to missing TableDescriptor MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-14885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15028319#comment-15028319 ] Hudson commented on HBASE-14885: -------------------------------- SUCCESS: Integrated in HBase-1.2 #403 (See [https://builds.apache.org/job/HBase-1.2/403/]) HBASE-14885 NullPointerException in HMaster#normalizeRegions() due to (tedyu: rev 1e654241f20d4417290f643a8a80bd9be059a1f8) * hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java > NullPointerException in HMaster#normalizeRegions() due to missing TableDescriptor > --------------------------------------------------------------------------------- > > Key: HBASE-14885 > URL: https://issues.apache.org/jira/browse/HBASE-14885 > Project: HBase > Issue Type: Bug > Affects Versions: 1.3.0 > Reporter: Ted Yu > Assignee: Ted Yu > Fix For: 2.0.0, 1.2.0, 1.3.0 > > Attachments: 14885-branch-1.txt, 14885-v1.txt > > > During system test on Windows, we observed the following in master log: > {code} > 2015-11-23 11:31:38,853 ERROR org.apache.hadoop.hbase.master.normalizer.RegionNormalizerChore: Caught error^M > java.lang.NullPointerException^M > at org.apache.hadoop.hbase.master.HMaster.normalizeRegions(HMaster.java:1396)^M > at org.apache.hadoop.hbase.master.normalizer.RegionNormalizerChore.chore(RegionNormalizerChore.java:49)^M > at org.apache.hadoop.hbase.ScheduledChore.run(ScheduledChore.java:185)^M > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)^M > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)^M > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)^M > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)^M > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)^M > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)^M > at java.lang.Thread.run(Thread.java:745)^M > {code} > The NullPointerException came from the second line below: > {code} > for(TableName table : allEnabledTables) { > if (table.isSystemTable() || !getTableDescriptors().get(table).isNormalizationEnabled()) { > {code} > It seems TableDescriptor for some table was absent. > normalizeRegions() should deal with such scenario without producing NPE. -- This message was sent by Atlassian JIRA (v6.3.4#6332)