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

Disabling HDFS client socket cache causes logging message printed to console for CLI commands.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: hdfs-client
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      The HDFS client's socket cache can be disabled by setting dfs.client.socketcache.capacity to 0. When this is done, the PeerCache class logs an info-level message stating that the cache is disabled. This message is getting printed to the console for CLI commands, which disrupts CLI output. This issue proposes to downgrade to debug-level logging for this message.

        Attachments

          Activity

            People

            • Assignee:
              cnauroth Chris Nauroth
              Reporter:
              cnauroth Chris Nauroth
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: