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.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • hdfs-client
    • None
    • 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

        1. HDFS-9443.001.patch
          1 kB
          Chris Nauroth

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: