Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5194 Robust support for alternate FsDatasetSpi implementations
  3. HDFS-5631

Expose interfaces required by FsDatasetSpi implementations

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.7.0
    • datanode
    • None
    • Reviewed

    Description

      This sub-task addresses section 4.1 of the document attached to HDFS-5194,
      the exposure of interfaces needed by a FsDatasetSpi implementation.
      Specifically it makes ChunkChecksum public and BlockMetadataHeader's
      readHeader() and writeHeader() methods public.

      The changes to BlockReaderUtil (and related classes) discussed by section
      4.1 are only needed if supporting short-circuit, and should be addressed
      as part of an effort to provide such support rather than this JIRA.

      To help ensure these changes are complete and are not regressed in the
      future, tests that gauge the accessibility (though not behavior)
      of interfaces needed by a FsDatasetSpi subclass are also included.
      These take the form of a dummy FsDatasetSpi subclass – a successful
      compilation is effectively a pass. Trivial unit tests are included so
      that there is something tangible to track.

      Attachments

        1. HDFS-5631.patch
          25 kB
          David Powell
        2. HDFS-5631.patch
          24 kB
          David Powell
        3. HDFS-5631-branch-2.patch
          31 kB
          Joe Pallas
        4. HDFS-5631-branch-2.patch
          5 kB
          Joe Pallas
        5. HDFS-5631-LazyPersist.patch
          31 kB
          Joe Pallas
        6. HDFS-5631-LazyPersist.patch
          31 kB
          Joe Pallas

        Activity

          People

            jpallas Joe Pallas
            dep David Powell
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: