hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-15159) hadoop_connect_to_hosts shouldn't fail if both HADOOP_WORKERS and HADOOP_WORKERS_NAMES are defined
Date Sat, 06 Jan 2018 05:11:00 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-15159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Allen Wittenauer updated HADOOP-15159:
--------------------------------------
    Description: If a user provides a value for HADOOP_WORKERS in hadoop-env.sh, hadoop_connect_to_hosts
shouldn't fail when the sbin/start and sbin/stop commands are used.  Instead, it should just
use the HADOOP_WORKERS_NAMES value (probably with no warning, since it is a fairly common
thing to do).  (was: run   ./stop-dfs.sh 

ERROR: Both HADOOP_WORKERS and HADOOP_WORKER_NAMES were defined. Aborting.
Stopping datanodes
10.50.132.147: WARNING: HADOOP_DATANODE_OPTS has been replaced by HDFS_DATANODE_OPTS. Using
value of HADOOP_DATANODE_OPTS.
10.50.132.151: WARNING: HADOOP_DATANODE_OPTS has been replaced by HDFS_DATANODE_OPTS. Using
value of HADOOP_DATANODE_OPTS.
10.50.132.146: WARNING: HADOOP_DATANODE_OPTS has been replaced by HDFS_DATANODE_OPTS. Using
value of HADOOP_DATANODE_OPTS.
10.50.132.150: WARNING: HADOOP_DATANODE_OPTS has been replaced by HDFS_DATANODE_OPTS. Using
value of HADOOP_DATANODE_OPTS.
10.50.132.154: WARNING: HADOOP_DATANODE_OPTS has been replaced by HDFS_DATANODE_OPTS. Using
value of HADOOP_DATANODE_OPTS.
10.50.132.145: WARNING: HADOOP_DATANODE_OPTS has been replaced by HDFS_DATANODE_OPTS. Using
value of HADOOP_DATANODE_OPTS.
10.50.132.152: WARNING: HADOOP_DATANODE_OPTS has been replaced by HDFS_DATANODE_OPTS. Using
value of HADOOP_DATANODE_OPTS.
10.50.132.148: WARNING: HADOOP_DATANODE_OPTS has been replaced by HDFS_DATANODE_OPTS. Using
value of HADOOP_DATANODE_OPTS.
10.50.132.149: WARNING: HADOOP_DATANODE_OPTS has been replaced by HDFS_DATANODE_OPTS. Using
value of HADOOP_DATANODE_OPTS.
10.50.132.153: WARNING: HADOOP_DATANODE_OPTS has been replaced by HDFS_DATANODE_OPTS. Using
value of HADOOP_DATANODE_OPTS.
Stopping journal nodes [10.50.132.145 10.50.132.146 10.50.132.147]
ERROR: Both HADOOP_WORKERS and HADOOP_WORKER_NAMES were defined. Aborting.
Stopping ZK Failover Controllers on NN hosts [10.50.132.145 10.50.132.146 10.50.132.147]
ERROR: Both HADOOP_WORKERS and HADOOP_WORKER_NAMES were defined. Aborting.
)

> hadoop_connect_to_hosts shouldn't fail if both HADOOP_WORKERS and HADOOP_WORKERS_NAMES
are defined
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-15159
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15159
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 3.0.0
>         Environment: hadoop 3.0.0
>            Reporter: gehaijiang
>
> If a user provides a value for HADOOP_WORKERS in hadoop-env.sh, hadoop_connect_to_hosts
shouldn't fail when the sbin/start and sbin/stop commands are used.  Instead, it should just
use the HADOOP_WORKERS_NAMES value (probably with no warning, since it is a fairly common
thing to do).



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

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


Mime
View raw message