Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-1611

Some logical issues need to address.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.20.1, 0.20.2
    • Fix Version/s: 0.23.0
    • Component/s: hdfs-client, namenode
    • Labels:
      None
    • Hadoop Flags:
      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.

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

        Issue Links

          Activity

            People

            • Assignee:
              Uma Maheswara Rao G
              Reporter:
              Uma Maheswara Rao G
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development