Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7301

FSDataInputStream should expose a getWrappedStream method

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Ideally FSDataInputStream should expose a getWrappedStream method similarly to how FSDataOutputStream exposes a getWrappedStream method. Exposing this is useful for verifying correctness in tests cases. This FSDataInputStream type is the class that the o.a.h.fs.FileSystem.open call returns.

        Attachments

        1. hadoop-7301.patch
          1 kB
          Jonathan Hsieh
        2. hadoop-7301.2.patch
          2 kB
          Jonathan Hsieh

          Issue Links

            Activity

              People

              • Assignee:
                jmhsieh Jonathan Hsieh
                Reporter:
                jmhsieh Jonathan Hsieh
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: