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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to