[
https://issues.apache.org/jira/browse/HBASE-12337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14217124#comment-14217124
]
stack commented on HBASE-12337:
-------------------------------
This patch looks innocuous but when it ran on branch-1 with just this change it
had below fails after running clean for a good while:
{code}
Results :
Failed tests:
TestReplicationEndpoint.testReplicationEndpointReturnsFalseOnReplicate:128
Waiting timed out after [60,000] msec
Flaked tests:
org.apache.hadoop.hbase.client.TestMultiParallel.testActiveThreadsCount(org.apache.hadoop.hbase.client.TestMultiParallel)
Run 1: TestMultiParallel.testActiveThreadsCount:161 expected:<5> but was:<4>
Run 2: PASS
{code}
Also had a hanging test:
kalashnikov-13:hbase.git stack$ python ./dev-support/findHangingTests.py
https://builds.apache.org/view/H-L/view/HBase/job/HBase-1.0/470/console
Fetching the console output from the URL
Printing hanging tests
Hanging test : org.apache.hadoop.hbase.master.balancer.TestBaseLoadBalancer
Printing Failing tests
> 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
> Fix For: 2.0.0, 0.98.9, 0.99.2
>
> 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)