You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/01/23 01:37:00 UTC

[jira] [Comment Edited] (HBASE-19841) Tests against hadoop3 fail with StreamLacksCapabilityException

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

Ted Yu edited comment on HBASE-19841 at 1/23/18 1:36 AM:
---------------------------------------------------------

The test does this in TestCompactingMemStore.compactingSetUp():
{code}
    Configuration conf = new Configuration();
{code}
HBaseConfiguration is not involved.


was (Author: yuzhihong@gmail.com):
The test does this in setup:
{code}
    Configuration conf = new Configuration();
{code}
HBaseConfiguration is not involved.

> 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)