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

Maintain Short-Circuit Read Statistics

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha4
    • hdfs-client
    • None
    • Reviewed

    Description

      If a disk or controller hardware is faulty then short-circuit read requests can stall indefinitely while reading from the file descriptor. Currently there is no way to detect when short-circuit read requests are slow or blocked.

      This Jira proposes that each BlockReaderLocal maintain read statistics while it is active by measuring the time taken for a pre-determined fraction of read requests. These per-reader stats can be aggregated into global stats when the reader is closed. The aggregate statistics can be exposed via JMX.

      Attachments

        1. HDFS-11789.005.patch
          30 kB
          Hanisha Koneru
        2. HDFS-11789.004.patch
          28 kB
          Hanisha Koneru
        3. HDFS-11789.003.patch
          28 kB
          Hanisha Koneru
        4. HDFS-11789.002.patch
          29 kB
          Hanisha Koneru
        5. HDFS-11789.001.patch
          14 kB
          Hanisha Koneru

        Issue Links

          Activity

            People

              hanishakoneru Hanisha Koneru
              hanishakoneru Hanisha Koneru
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: