Dmytro Sen created AMBARI-19268:
-----------------------------------

             Summary: ulimit override missing from upgrade catalogs
                 Key: AMBARI-19268
                 URL: https://issues.apache.org/jira/browse/AMBARI-19268
             Project: Ambari
          Issue Type: Bug
          Components: ambari-upgrade
    Affects Versions: 2.2.2
            Reporter: Dmytro Sen
            Assignee: Dmytro Sen
            Priority: Critical
             Fix For: 2.5.0


After upgrade from 2.0.0 hadoop-env doesn't contain:
{noformat}
{% if is_datanode_max_locked_memory_set %}
# Fix temporary bug, when ulimit from conf files is not picked up, without full 
relogin. 
# Makes sense to fix only when runing DN as root 
if [ "$command" == "datanode" ] && [ "$EUID" -eq 0 ] && [ -n 
"$HADOOP_SECURE_DN_USER" ]; then
  ulimit -l {{datanode_max_locked_memory}}
fi
{% endif %}
{noformat}



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

Reply via email to