Github user tillrohrmann commented on a diff in the pull request: https://github.com/apache/flink/pull/4019#discussion_r121631955 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/fs/hdfs/HadoopDataInputStream.java --- @@ -31,11 +31,15 @@ */ public final class HadoopDataInputStream extends FSDataInputStream { + /** Minimum amount of bytes to skip forward before we issue a seek instead of discarding read */ + private static final int MIN_SKIP_BYTES = 1024 * 1024; --- End diff -- This makes sense. Wanna add this as a comment to the code?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---