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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.23.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: