Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-347 DFS read performance suboptimal when client co-located on nodes with data
  3. HDFS-4402

some small DomainSocket fixes: avoid findbugs warning, change log level, etc.

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Some miscellaneous fixes:

      • findbugs complains about a short-circuit operator in DomainSocket.java for some reason. We don't need it (it doesn't help optimization since the expressions lack side-effects), so let's ditch it to avoid the findbugs warning.
      • change the log level of one error message to warn
      • BlockReaderLocal should use a BufferedInputStream to read the metadata file header, to avoid doing multiple small reads.

        Attachments

        1. HDFS-4402.002.patch
          4 kB
          Colin McCabe
        2. HDFS-4402.001.patch
          5 kB
          Colin McCabe

          Activity

            People

            • Assignee:
              cmccabe Colin McCabe
              Reporter:
              cmccabe Colin McCabe
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: