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

dfsadmin command prints "Exception encountered" even if there is no exception, when debug is enabled

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.1.0
    • hdfs-client
    • None

    Description

      In DFSAdmin we are printing "Exception encountered" at debug level for all the calls even if there is no exception.

      DFSAdmin#run
          if (LOG.isDebugEnabled()) {
            LOG.debug("Exception encountered:", debugException);
          }
      

      Attachments

        1. HDFS-12406.000.patch
          0.8 kB
          Nandakumar

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            nanda Nandakumar
            nanda Nandakumar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment