Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2187

HDFS-1580: Make EditLogInputStream act like an iterator over FSEditLogOps

    Details

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

      Description

      This JIRA is for the input side changes moved out of HDFS-2149. EditLogInputStream has been changed to no longer be an InputStream implementation, but to return a stream of FSEditLogOp objects using readOp(). The upshot is that all that can ever be read from an EditLogInputStream is a op. No random hackery can be used to put other things in the stream. Version is now a property of the EditLogInputStream and retrieved using getVersion().

      1. HDFS-2187.diff
        17 kB
        Ivan Kelly
      2. HDFS-2187.diff
        30 kB
        Ivan Kelly
      3. 2187-changes.txt
        17 kB
        Todd Lipcon
      4. hdfs-2187.txt
        27 kB
        Todd Lipcon
      5. hdfs-2187.txt
        32 kB
        Todd Lipcon
      6. hdfs-2187.txt
        33 kB
        Todd Lipcon

        Issue Links

          Activity

            People

            • Assignee:
              Ivan Kelly
              Reporter:
              Ivan Kelly
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development