hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7011) yarn-daemon.sh is not respecting --config option
Date Tue, 29 Aug 2017 01:15:02 GMT

    [ https://issues.apache.org/jira/browse/YARN-7011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16144625#comment-16144625
] 

Junping Du commented on YARN-7011:
----------------------------------

I tried all 4 ways of config in HADOOP 2.7.3, 2.8.1 and 3.0.0-beta:
1. export HADOOP_CONF_DIR=/tmp/hadoop-config-1
2. In hadoop-env.sh: "export HADOOP_CONF_DIR=/tmp/hadoop-config-2"
3. pass --config /tmp/hadoop-config-3 on command line.
4. create a conf directory in HADOOP_HOME where bin/hadoop exists

And here comes the results:

||Scenario||Apache 2.7.3 result||Apache 2.8.1 result||Apache 3 result||
|Only (1)|work|work|work|
|Only (2)|work|work|work|
|Only (3)|work|work|work|
|Only (4)|work|work|work|
|Both (1) and (2)|1 effective|1 effective|1 effective|
|Both (2) and (3)|3 effective|3 effective|3 effective|
|Both (1) and (3)|3 effective|3 effective|3 effective|
|All (1), (2), (3)|3 effective|3 effective| 3 effective|
|Any of (1) / (2) / (3) with (4)|(1)(3) is higher than (4), (2) is lowest|(1)(3) is higher
than (4), (2) is lowest|(1)(3) is higher than (4), (2) is lowest|
|All (1), (2), (3), (4)|(3)|(3)|(3)|

Based on results above, I think this shouldn't be an issue for Hadoop 3 beta.

> yarn-daemon.sh is not respecting --config option
> ------------------------------------------------
>
>                 Key: YARN-7011
>                 URL: https://issues.apache.org/jira/browse/YARN-7011
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn
>            Reporter: Sumana Sathish
>            Priority: Trivial
>
> Steps to reproduce:
> 1. Copy the conf to a temporary location /tmp/Conf
> 2. Modify anything in yarn-site.xml under /tmp/Conf/. Ex: Give invalid RM address
> 3. Restart the resourcemanager using yarn-daemon.sh using --config /tmp/Conf
> 4. --config is not respected as the changes made in /tmp/Conf/yarn-site.xml is not taken
in while restarting RM



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message