hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19289) CommonFSUtils$StreamLacksCapabilityException: hflush when running test against hadoop3 beta1
Date Fri, 17 Nov 2017 18:58:00 GMT

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

Sean Busbey commented on HBASE-19289:
-------------------------------------

How would you propose relaxing it? 

Two solutions I see:

* updating LocalFileSystem to support hflush/hsync
* telling CommonFSUtils to ignore the check on LocalFileSystem

The former is probably going to be easier due to the way we wrap FileSystems.

> CommonFSUtils$StreamLacksCapabilityException: hflush when running test against hadoop3
beta1
> --------------------------------------------------------------------------------------------
>
>                 Key: HBASE-19289
>                 URL: https://issues.apache.org/jira/browse/HBASE-19289
>             Project: HBase
>          Issue Type: Test
>            Reporter: Ted Yu
>
> As of commit d8fb10c8329b19223c91d3cda6ef149382ad4ea0 , I encountered the following exception
when running unit test against hadoop3 beta1:
> {code}
> testRefreshStoreFiles(org.apache.hadoop.hbase.regionserver.TestHStore)  Time elapsed:
0.061 sec  <<< ERROR!
> java.io.IOException: cannot get log writer
> 	at org.apache.hadoop.hbase.regionserver.TestHStore.initHRegion(TestHStore.java:215)
> 	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:220)
> 	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:195)
> 	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:190)
> 	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:185)
> 	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:179)
> 	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:173)
> 	at org.apache.hadoop.hbase.regionserver.TestHStore.testRefreshStoreFiles(TestHStore.java:962)
> Caused by: org.apache.hadoop.hbase.util.CommonFSUtils$StreamLacksCapabilityException:
hflush
> 	at org.apache.hadoop.hbase.regionserver.TestHStore.initHRegion(TestHStore.java:215)
> 	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:220)
> 	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:195)
> 	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:190)
> 	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:185)
> 	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:179)
> 	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:173)
> 	at org.apache.hadoop.hbase.regionserver.TestHStore.testRefreshStoreFiles(TestHStore.java:962)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message