You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/05/30 15:10:05 UTC

[jira] [Commented] (FLINK-6776) Use skip instead of seek for small forward repositioning in DFS streams

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

ASF GitHub Bot commented on FLINK-6776:
---------------------------------------

GitHub user StefanRRichter opened a pull request:

    https://github.com/apache/flink/pull/4019

    [FLINK-6776] [runtime] Use skip instead of seek for small forward rep…

    …ositioning in DFS streams
    
    Reading checkpoint meta data and finding key-groups in restores sometimes require to seek in input streams. Currently, we always use a seek, even for small position changes. As small true seeks are far more expensive than small reads/skips, we should just skip over small gaps instead of performing the seek.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/StefanRRichter/flink FLINK-6776

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/4019.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4019
    
----
commit 6251b2d68fa567bf7b04fca56bd74ef77bcb3114
Author: Stefan Richter <s....@data-artisans.com>
Date:   2017-05-30T15:08:26Z

    [FLINK-6776] [runtime] Use skip instead of seek for small forward repositioning in DFS streams

----


> Use skip instead of seek for small forward repositioning in DFS streams
> -----------------------------------------------------------------------
>
>                 Key: FLINK-6776
>                 URL: https://issues.apache.org/jira/browse/FLINK-6776
>             Project: Flink
>          Issue Type: Improvement
>          Components: State Backends, Checkpointing
>            Reporter: Stefan Richter
>            Assignee: Stefan Richter
>
> Reading checkpoint meta data and finding key-groups in restores sometimes require to seek in input streams. Currently, we always use a seek, even for small position changes. As small true seeks are far more expensive than small reads/skips, we should just skip over small gaps instead of performing the seek.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)