[
https://issues.apache.org/jira/browse/HBASE-19841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16335992#comment-16335992
]
Ted Yu commented on HBASE-19841:
--------------------------------
Looking at similar test failures, e.g.
https://builds.apache.org/job/HBase-2.0-hadoop3-tests/org.apache.hbase$hbase-server/19/testReport/junit/org.apache.hadoop.hbase.regionserver/TestCompactingToCellFlatMapMemStore/testFlatteningToBigCellChunkMap_0_/
, it is not just this one test which uses Configuration.
Since every test in hbase-server module is supposed to pick up
./hbase-server/src/test/resources/hbase-site.xml , I think the attached patch
is proper fix.
> Tests against hadoop3 fail with StreamLacksCapabilityException
> --------------------------------------------------------------
>
> Key: HBASE-19841
> URL: https://issues.apache.org/jira/browse/HBASE-19841
> Project: HBase
> Issue Type: Test
> Reporter: Ted Yu
> Assignee: Ted Yu
> Priority: Major
> Fix For: 2.0.0-beta-2
>
> Attachments: 19841.v1.txt
>
>
> The following can be observed running against hadoop3:
> {code}
> java.io.IOException: cannot get log writer
> at
> org.apache.hadoop.hbase.regionserver.TestCompactingMemStore.compactingSetUp(TestCompactingMemStore.java:107)
> at
> org.apache.hadoop.hbase.regionserver.TestCompactingMemStore.setUp(TestCompactingMemStore.java:89)
> Caused by:
> org.apache.hadoop.hbase.util.CommonFSUtils$StreamLacksCapabilityException:
> hflush and hsync
> at
> org.apache.hadoop.hbase.regionserver.TestCompactingMemStore.compactingSetUp(TestCompactingMemStore.java:107)
> at
> org.apache.hadoop.hbase.regionserver.TestCompactingMemStore.setUp(TestCompactingMemStore.java:89)
> {code}
> This was due to "hbase.unsafe.stream.capability.enforce" config from
> hbase-server/src/test/resources/hbase-site.xml not being picked up.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)