[
https://issues.apache.org/jira/browse/HBASE-6513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13571280#comment-13571280
]
Lars Francke commented on HBASE-6513:
-------------------------------------
Found the issue. It's the tiebreaker in the SimpleRange class which isn't
breaking the tie because nanoTime apparently doesn't have a good enough
resolution on a Mac.
I've replaced the long with a UUID and it seems to work. I'll create a patch.
> Test errors when building on MacOS
> ----------------------------------
>
> Key: HBASE-6513
> URL: https://issues.apache.org/jira/browse/HBASE-6513
> Project: HBase
> Issue Type: Bug
> Components: build
> Environment: MacOSX 10.8
> Oracle JDK 1.7
> Reporter: Archimedes Trajano
>
> Results :
> Failed tests:
> testBackgroundEvictionThread[0](org.apache.hadoop.hbase.io.hfile.TestLruBlockCache):
> expected:<2> but was:<1>
>
> testBackgroundEvictionThread[1](org.apache.hadoop.hbase.io.hfile.TestLruBlockCache):
> expected:<2> but was:<1>
>
> testSplitCalculatorEq(org.apache.hadoop.hbase.util.TestRegionSplitCalculator):
> expected:<2> but was:<1>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira