Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-2216

Hadoop2: Empty stack configuration values become 'null' on the node

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.4
    • 1.4.0
    • ambari-web
    • None

    Description

      When viewing a new install of Hadoop2 that includes MAPREDUCE2, some properties defined as empty string are sent to the server as 'null':
      Stack:

        <property>
          <name>mapred.job.tracker</name>
          <value></value>
        </property>
      

      Server:

        <property>
          <name>mapred.job.tracker</name>
          <value>null</value>
        </property>
      

      The following properties exhibit this behavior:
      mapred.system.dir
      mapred.cluster.reduce.memory.mb
      mapred.hosts
      mapred.jobtracker.maxtasks.per.job
      mapred.userlog.retain.hours
      mapred.local.dir
      mapred.task.tracker.task-controller
      mapred.tasktracker.map.tasks.maximum
      mapred.hosts.exclude
      mapred.cluster.max.map.memory.mb
      mapred.cluster.max.reduce.memory.mb
      mapred.job.tracker.http.address
      mapred.jobtracker.taskScheduler
      mapred.healthChecker.script.path
      mapred.cluster.map.memory.mb

      Attachments

        1. AMBARI-2216.patch
          16 kB
          Yusaku Sako

        Activity

          People

            srimanth.gunturi Srimanth Gunturi
            srimanth.gunturi Srimanth Gunturi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: