[
https://issues.apache.org/jira/browse/HBASE-12337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14215011#comment-14215011
]
Hadoop QA commented on HBASE-12337:
-----------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12676937/12337-v1.patch
against trunk revision .
ATTACHMENT ID: 12676937
{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 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:red}-1 javadoc{color}. The javadoc tool appears to have generated 1
warning messages.
{color:green}+1 checkstyle{color}. The applied patch does not increase the
total number of 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 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/11708//testReport/
Findbugs warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/11708//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Findbugs warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/11708//artifact/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html
Findbugs warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/11708//artifact/patchprocess/newPatchFindbugsWarningshbase-examples.html
Findbugs warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/11708//artifact/patchprocess/newPatchFindbugsWarningshbase-server.html
Findbugs warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/11708//artifact/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/11708//artifact/patchprocess/newPatchFindbugsWarningshbase-rest.html
Findbugs warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/11708//artifact/patchprocess/newPatchFindbugsWarningshbase-protocol.html
Findbugs warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/11708//artifact/patchprocess/newPatchFindbugsWarningshbase-client.html
Findbugs warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/11708//artifact/patchprocess/newPatchFindbugsWarningshbase-thrift.html
Findbugs warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/11708//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html
Findbugs warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/11708//artifact/patchprocess/newPatchFindbugsWarningshbase-annotations.html
Checkstyle Errors:
https://builds.apache.org/job/PreCommit-HBASE-Build/11708//artifact/patchprocess/checkstyle-aggregate.html
Javadoc warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/11708//artifact/patchprocess/patchJavadocWarnings.txt
Console output:
https://builds.apache.org/job/PreCommit-HBASE-Build/11708//console
This message is automatically generated.
> Import tool fails with NullPointerException if clusterIds is not initialized
> ----------------------------------------------------------------------------
>
> Key: HBASE-12337
> URL: https://issues.apache.org/jira/browse/HBASE-12337
> Project: HBase
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Ted Yu
> Attachments: 12337-v1.patch
>
>
> Flavio Pompermaier reported in this thread:
> http://search-hadoop.com/m/DHED4eZ8Nk1/Error+during+HBase+import&subj=Error+during+HBase+import
> Here is stack trace:
> {code}
> Error: java.lang.NullPointerException
> at org.apache.hadoop.hbase.client.Mutation.setClusterIds(Mutation.java:331)
> at
> org.apache.hadoop.hbase.mapreduce.Import$Importer.writeResult(Import.java:180)
> at org.apache.hadoop.hbase.mapreduce.Import$Importer.map(Import.java:142)
> at org.apache.hadoop.hbase.mapreduce.Import$Importer.map(Import.java:125)
> at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:145)
> at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764)
> at org.apache.hadoop.mapred.MapTask.run(MapTask.java:340)
> at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:167)
> at java.security.AccessController.doPrivileged(Native Method)
> {code}
> This was due to clusterIds not being initialized in setup() method:
> {code}
> try {
> zkw = new ZooKeeperWatcher(conf,
> context.getTaskAttemptID().toString(), null);
> clusterIds =
> Collections.singletonList(ZKClusterId.getUUIDForCluster(zkw));
> } catch (ZooKeeperConnectionException e) {
> {code}
> Instead of throwing NullPointerException from Import$Importer, Import should
> exit early with proper message and exit code.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)