Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2187

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

    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

      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().

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: