hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1872) [hbase] TestCompaction assertions fail on some hosts
Date Mon, 15 Oct 2007 21:57:50 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-1872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534991

Doug Cutting commented on HADOOP-1872:

Here's the stack dump.
    [junit] "main" prio=10 tid=0x0805a800 nid=0xbbe in Object.wait() [0xb7da1000..0xb7da2208]
    [junit]    java.lang.Thread.State: WAITING (on object monitor)
    [junit]     at java.lang.Object.wait(Native Method)
    [junit]     - waiting on <0x81428d58> (a java.util.HashMap)
    [junit]     at java.lang.Object.wait(Object.java:485)
    [junit]     at org.apache.hadoop.hbase.HRegion.waitOnRowLocks(HRegion.java:1538)
    [junit]     - locked <0x81428d58> (a java.util.HashMap)
    [junit]     at org.apache.hadoop.hbase.HRegion.close(HRegion.java:384)
    [junit]     at org.apache.hadoop.hbase.HRegion.close(HRegion.java:344)
    [junit]     at org.apache.hadoop.hbase.TestCompaction.tearDown(TestCompaction.java:55)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:130)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:118)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
No other user threads running.

> [hbase] TestCompaction assertions fail on some hosts
> ----------------------------------------------------
>                 Key: HADOOP-1872
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1872
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Assignee: stack
>         Attachments: samepatchdifferentname.patch, testcompaction.patch
> Changes to TestCompaction introduced in hadoop-1768 passed an hudson build (#722) but
reports on the hadoop irc have them failing on an an hp+ubuntu box:
> {code}
> cutting>	it's nothing fancy. /proc/cpuinfo shows "Intel(R) Pentium(R) 4 CPU 3.20GHz".
> <buenaventura>	Thats single-cpu...
> <cutting>	yep
> <cutting>	1GB of ram. bog standard pc.
> <cutting>	running java 5, not java 6, if that matters.
> {code}
> (Failed also w/ java6).
> The assertion that fails is count of row versions after a compaction and flush.  There
are usually 4 -- the 3 from stores and one that is in a flush that happened 'concurrent' to
the compaction -- but there can be 3 only (the maximum for a column) if non-intuitively the
compaction thread starts after the flush finishes which can happen with certain jvm schedulers
(hudson is one such).
> I commented out the assertions to get the build working again.  This issue is about adding
them back in again in a manner that has them working on hudson and the bog-standard hp+ubuntu.

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

View raw message