hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HBASE-1702) TestMergeUtil fails on trunk
Date Sat, 25 Jul 2009 16:00:15 GMT

     [ https://issues.apache.org/jira/browse/HBASE-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

stack resolved HBASE-1702.
--------------------------

    Resolution: Fixed

I broke this as part of refactoring for hbase-1215 removing duplicated code in metautils.
 Fix is simple:

{code}
Index: src/java/org/apache/hadoop/hbase/util/MetaUtils.java
===================================================================
--- src/java/org/apache/hadoop/hbase/util/MetaUtils.java        (revision 797713)
+++ src/java/org/apache/hadoop/hbase/util/MetaUtils.java        (working copy)
@@ -228,7 +228,7 @@
         results.clear();
       } while (hasNext);
     } finally {
-      r.close();
+      s.close();
     }
   }
{code}

> TestMergeUtil fails on trunk
> ----------------------------
>
>                 Key: HBASE-1702
>                 URL: https://issues.apache.org/jira/browse/HBASE-1702
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Priority: Critical
>             Fix For: 0.20.0
>
>
> Last hudson reports a failed test on TestMergeUtil.  Same failure when run locally.
> {noformat}
> junit.framework.AssertionFailedError: 'merging regions 0 and 1' failed
> 	at org.apache.hadoop.hbase.util.TestMergeTool.mergeAndVerify(TestMergeTool.java:178)
> 	at org.apache.hadoop.hbase.util.TestMergeTool.testMergeTool(TestMergeTool.java:253)
> {noformat}

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


Mime
View raw message