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

Change the log level in WebHdfsFileSystem.initialize() from INFO to DEBUG

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: webhdfs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Log info statements described below show up in the stdouts of FileSystem operations on WebHdfsFileSystem. So, the proposal is to change the log level from INFO to DEBUG.

       if(isOAuth) {
            LOG.info("Enabling OAuth2 in WebHDFS");
            connectionFactory = URLConnectionFactory
                .newOAuth2URLConnectionFactory(conf);
          } else {
            LOG.info("Not enabling OAuth2 in WebHDFS");
            connectionFactory = URLConnectionFactory
                .newDefaultURLConnectionFactory(conf);
          }
      

        Attachments

        1. HDFS-9082.1.patch
          1 kB
          Santhosh G Nayak

          Issue Links

            Activity

              People

              • Assignee:
                snayak Santhosh G Nayak
                Reporter:
                snayak Santhosh G Nayak
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: