hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zach York (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18587) Fix Flaky TestFileIOEngine
Date Sun, 13 Aug 2017 00:30:01 GMT
Zach York created HBASE-18587:

             Summary: Fix Flaky TestFileIOEngine
                 Key: HBASE-18587
                 URL: https://issues.apache.org/jira/browse/HBASE-18587
             Project: HBase
          Issue Type: Bug
          Components: BucketCache, test
            Reporter: Zach York
            Assignee: Zach York

As a part of HBASE-18533, the Jenkins report said that TestFileIOEngine failed. I investigated
and noticed that there are two cases where this test is flaky:
len = 0 and offset 0; it will fail for https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/FileIOEngine.java#L198
will pass in -1 for offset which is invalid.
len = 0 and i = 13; it will try to specify an offset of the totalCapacity which is not allowed.
This patch fixes this test.

This message was sent by Atlassian JIRA

View raw message