Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3326

Append enabled log message uses the wrong variable

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.0-alpha
    • Component/s: namenode
    • Labels:
    • Hadoop Flags:
      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
      1. hdfs-3326.txt
        1 kB
        Matthew Jacobs

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Matthew Jacobs
            Reporter:
            J.Andreina
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development