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

HDFS cat logs an info message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0, 3.1.4, 3.2.2
    • None
    • None

    Description

      HDFS-13699 changed a debug log line into an info log line and this line is printed during hadoop fs -cat operations. This make it very difficult to figure out where the log line ends and where the catted file begins, especially when the output is sent to a tool for parsing.

      [ebadger@foobar bin]$ hadoop fs -cat /foo 2>/dev/null
      2019-08-20 22:09:45,907 INFO  [main] sasl.SaslDataTransferClient (SaslDataTransferClient.java:checkTrustAndSend(230)) - SASL encryption trust check: localHostTrusted = false, remoteHostTrusted = false
      bar
      

      Attachments

        1. HDFS-14759.001.patch
          1 kB
          Eric Badger

        Issue Links

          Activity

            People

              ebadger Eric Badger
              ebadger Eric Badger
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: