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

Append enabled log message uses the wrong variable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.0-alpha
    • namenode
    • Reviewed

    Description

      "dfs.support.append" is set to true
      started NN in non-HA mode

      At the NN side log the append enable is set to false.

      This is because in code append enabled is set to HA enabled value.Since Started NN in non-HA mode the value for append is false
      Code:
      =====

      this.supportAppends = conf.getBoolean(DFS_SUPPORT_APPEND_KEY, DFS_SUPPORT_APPEND_DEFAULT);
            LOG.info("Append Enabled: " + haEnabled);

      NN logs
      ========

      2012-04-25 21:11:09,693 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: HA Enabled: false
      2012-04-25 21:11:09,702 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Append Enabled: false

      Attachments

        1. hdfs-3326.txt
          1 kB
          Matthew Jacobs

        Activity

          People

            mjacobs Matthew Jacobs
            andreina J.Andreina
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: