Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5182 BlockReaderLocal must allow zero-copy reads only when the DN believes it's valid
  3. HDFS-5940

Minor cleanups to ShortCircuitReplica, FsDatasetCache, and DomainSocketWatcher

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • hdfs-client
    • None

    Description

      ShortCircuitReplica#Key and FsDatasetCache#Key are pretty much identical code and should be factored out to an external class. (There will soon be a need for a third user of such an identifier.)

      Another minor cleanup is that DomainSocketWatcher should not implement Thread. It contains a thread currently, but I forgot to remove the "extends".

      Attachments

        1. HDFS-5940.002.patch
          37 kB
          Colin McCabe
        2. HDFS-5940.001.patch
          37 kB
          Colin McCabe

        Activity

          People

            cmccabe Colin McCabe
            cmccabe Colin McCabe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: