[
https://issues.apache.org/jira/browse/HBASE-14885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15027827#comment-15027827
]
Hadoop QA commented on HBASE-14885:
-----------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12774410/14885-v1.txt
against master branch at commit efb5917f2247b4cc1951ba950a9b9ff1a4606c92.
ATTACHMENT ID: 12774410
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:red}-1 tests included{color}. The patch doesn't appear to include
any new or modified tests.
Please justify why no new tests are needed for this
patch.
Also please list what manual steps were performed to
verify this patch.
{color:green}+1 hadoop versions{color}. The patch compiles with all
supported hadoop versions (2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.6.0 2.6.1 2.7.0
2.7.1)
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 protoc{color}. The applied patch does not increase the
total number of protoc compiler warnings.
{color:green}+1 javadoc{color}. The javadoc tool did not generate any
warning messages.
{color:green}+1 checkstyle{color}. The applied patch does not generate new
checkstyle errors.
{color:green}+1 findbugs{color}. The patch does not introduce any new
Findbugs (version 2.0.3) warnings.
{color:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit warnings.
{color:green}+1 lineLengths{color}. The patch does not introduce lines
longer than 100
{color:green}+1 site{color}. The mvn post-site goal succeeds with this patch.
{color:green}+1 core tests{color}. The patch passed unit tests in .
Test results:
https://builds.apache.org/job/PreCommit-HBASE-Build/16667//testReport/
Release Findbugs (version 2.0.3) warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/16667//artifact/patchprocess/newFindbugsWarnings.html
Checkstyle Errors:
https://builds.apache.org/job/PreCommit-HBASE-Build/16667//artifact/patchprocess/checkstyle-aggregate.html
Console output:
https://builds.apache.org/job/PreCommit-HBASE-Build/16667//console
This message is automatically generated.
> 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)