[ https://issues.apache.org/jira/browse/HBASE-18587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16131152#comment-16131152 ]
Hudson commented on HBASE-18587: -------------------------------- FAILURE: Integrated in Jenkins build HBASE-14070.HLC #233 (See [https://builds.apache.org/job/HBASE-14070.HLC/233/]) HBASE-18587 Fix flaky TestFileIOEngine (stack: rev 5280c100ff93f65cd568ce830e088cc12a2f5585) * (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/FileIOEngine.java * (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/bucket/TestFileIOEngine.java > 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 > Fix For: 2.0.0, 1.4.0, 1.3.2 > > Attachments: HBASE-18587.branch-1.001.patch, > HBASE-18587.branch-1.002.patch, HBASE-18587.master.001.patch, > HBASE-18587.master.001.patch, HBASE-18587.master.002.patch, > HBASE-18587.master.002.patch > > > 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 (v6.4.14#64029)