You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2018/03/21 22:13:08 UTC

[jira] [Updated] (HBASE-18714) The dropBehind and readahead don't be applied when useHBaseChecksum is enabled

     [ https://issues.apache.org/jira/browse/HBASE-18714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-18714:
--------------------------
    Fix Version/s: 2.0.0

> The dropBehind and readahead don't be applied when useHBaseChecksum is enabled
> ------------------------------------------------------------------------------
>
>                 Key: HBASE-18714
>                 URL: https://issues.apache.org/jira/browse/HBASE-18714
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Minor
>             Fix For: 2.0.0-alpha-3, 2.0.0
>
>         Attachments: HBASE-18714.v0.patch
>
>
> {code:title=FSDataInputStreamWrapper}
>   private void setStreamOptions(FSDataInputStream in) {
>     try {
>       this.stream.setDropBehind(dropBehind);
>     } catch (Exception e) {
>       // Skipped.
>     }
>     if (readahead >= 0) {
>       try {
>         this.stream.setReadahead(readahead);
>       } catch (Exception e) {
>         // Skipped.
>       }
>     }
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)