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

Some logical issues need to address.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.20.1, 0.20.2
    • 0.23.0
    • hdfs-client, namenode
    • None
    • Reviewed

    Description

      Title: Some code level logical issues.

      Description:

      1. DFSClient:
      Consider the below case, if we enable only info, then below log will never be logged.
      if (ClientDatanodeProtocol.LOG.isDebugEnabled())

      { ClientDatanodeProtocol.LOG.info("ClientDatanodeProtocol addr=" + addr); }

      2.org.apache.hadoop.hdfs.server.namenode.FSNamesystem.registerMBean()

      catch (NotCompliantMBeanException e)

      { e.printStackTrace(); }

      We can avoid using stackTace(). Better to add log message.

      Attachments

        1. HDFS-1611.1.patch
          1 kB
          Uma Maheswara Rao G
        2. HDFS-1611.patch
          1 kB
          Uma Maheswara Rao G

        Issue Links

          Activity

            People

              umamaheswararao Uma Maheswara Rao G
              umamaheswararao Uma Maheswara Rao G
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: