Matt Sharp created AMBARI-14368:
-----------------------------------

             Summary: HDFS hadoop-env - Hardcoded namenode_opt_maxnewsize and 
namenode_opt_newsize properties
                 Key: AMBARI-14368
                 URL: https://issues.apache.org/jira/browse/AMBARI-14368
             Project: Ambari
          Issue Type: Bug
            Reporter: Matt Sharp
            Priority: Minor


We recently ran into an issue with the hadop-env template hardcoding the 
namenode_opt_maxnewsize and namenode_opt_newsize properties.  This was observed 
with Ambari 2.0.2 (upgraded over the years).  We manually updated the template 
to use the following to fix this:

-XX:NewSize={{namenode_opt_newsize}}
-XX:MaxNewSize={{namenode_opt_maxnewsize}}

This allows it to pull from the Ambari fields now.  We also tested with fresh 
cluster installs which points to a bug only when upgrading.  Seems like 
something that was missed in the upgrade cycle for existing installs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to