Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3707

TestFSInputChecker: improper use of skip

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      TestFSInputChecker assumes that FSDataInputStream#skip always skips the full amount of bytes. However, FSDataInputStream inherits this method from InputStream. InputStream#skip skips "up to" the requested number of bytes. It is not an error if it skips fewer.

      1. HDFS-3707.001.patch
        6 kB
        Colin Patrick McCabe
      2. hdfs-3707.txt
        2 kB
        Eli Collins

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Colin Patrick McCabe
              Reporter:
              Colin Patrick McCabe
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development