[ 
https://issues.apache.org/jira/browse/HBASE-3111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920856#action_12920856
 ] 

stack commented on HBASE-3111:
------------------------------

I'm going to try this change over night:

{code}
Index: src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java
===================================================================
--- src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java     
(revision 1022380)
+++ src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java     
(working copy)
@@ -180,7 +180,6 @@
     job.setOutputKeyClass(ImmutableBytesWritable.class);
     job.setOutputValueClass(Writable.class);
     if (partitioner == HRegionPartitioner.class) {
-      HBaseConfiguration.addHbaseResources(conf);
       job.setPartitionerClass(HRegionPartitioner.class);
       HTable outputTable = new HTable(conf, table);
       int regions = outputTable.getRegionsInfo().size();
{code}

My supposition is that its overwriting the config. we've passed in which has in 
it the amended zk location.

This is the last failing test on hudson.  If this passes, I'll make up a better 
patch... will need documentation.

> TestTableMapReduce broken up on hudson
> --------------------------------------
>
>                 Key: HBASE-3111
>                 URL: https://issues.apache.org/jira/browse/HBASE-3111
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.90.0
>
>
> So, test has failed for various reasons since fixed over last week or so.  It 
> is currently failing when the reducer starts up.  Its failing because its not 
> picking up the zk servers location; its using stale config.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to