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 2017/08/29 16:11:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16145562#comment-16145562 ]
Ted Yu commented on HBASE-18714:
--------------------------------
lgtm, pending QA
> 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
>
> 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
(v6.4.14#64029)