hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravindra Sandaruwan Ranaweera (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-6444) Java options being duplicated in YARN
Date Wed, 05 Apr 2017 09:04:42 GMT
Ravindra Sandaruwan Ranaweera created YARN-6444:

             Summary: Java options being duplicated in YARN
                 Key: YARN-6444
                 URL: https://issues.apache.org/jira/browse/YARN-6444
             Project: Hadoop YARN
          Issue Type: Bug
          Components: scripts, yarn
    Affects Versions: 2.7.3
         Environment: CentOS 6.5, Hadoop 2.7.3, java version "1.7.0_79"
            Reporter: Ravindra Sandaruwan Ranaweera

Additional Java options added to "yarn-env.sh" such as 


adds the same Java option two times to YARN process. Processes are started with "service"
command and environment variables of the process are checked with "sed -e 's/\x0/\n/g' /proc/<PID>/environ".

This occurs because "yarn-env.sh" is executed two times from "/usr/lib/hadoop-yarn/sbin/yarn-daemon.sh"
and "/usr/lib/hadoop-yarn/bin/yarn" when starting.

This is already fixed in Hadoop3.0.0-alpha1 but I think it is better to correct this in Hadoop2.*

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org

View raw message