You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "clay Jckson (Jira)" <ji...@apache.org> on 2022/01/09 08:19:00 UTC
[jira] [Created] (YARN-11062) execute start-yarn.sh error ,report "hadoop-functions.sh syntax error near"
clay Jckson created YARN-11062:
----------------------------------
Summary: execute start-yarn.sh error ,report "hadoop-functions.sh syntax error near"
Key: YARN-11062
URL: https://issues.apache.org/jira/browse/YARN-11062
Project: Hadoop YARN
Issue Type: Bug
Components: applications/distributed-shell
Affects Versions: 3.2.2
Environment: env:CentOS Linux release 7.6.1810 (Core)
Reporter: clay Jckson
Attachments: start-yarn.sh
you will get error
"/root/app/hadoop-3.2.2/libexec/hadoop-functions.sh: line 398: syntax error near unexpected token `<'
/root/app/hadoop-3.2.2/libexec/hadoop-functions.sh: line 398: ` done < <(for text in "${input[@]}"; do'
/root/app/hadoop-3.2.2/libexec/hadoop-config.sh: line 70: hadoop_deprecate_envvar: command not found",
when exeucted $HADOOP_HOME/sbin/start-yarn.sh to start yarn service .
adding
"YARN_RESOURCEMANAGER_USER=root
HDFS_DATANODE_SECURE_USER=yarn
YARN_NODEMANAGER_USER=root"
is able to fix this bug.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org