“Bad substitution” when submitting spark job to yarn-cluster

后端 未结 6 1564
萌比男神i
萌比男神i 2020-12-31 07:32

I am doing a smoke test against a yarn cluster using yarn-cluster as the master with the SparkPi example program. Here is the command line:

<
6条回答
  •  佛祖请我去吃肉
    2020-12-31 08:23

    1. Go to the ambari-yarn.

    click on Configs->Advanced->Custom yarn-site->Add Property ...

    add hdp version as key and value as your HDP version. You will get hdp version along with below command

    hdp-select versions

    e.g. 2.5.3.0-37

    Now add you property as

    hdp.version=2.5.3.0-37

    1. Otherwise replace ${hdp.version} as your hdp version(2.5.3.0-37) in yarn-site.xml and yarn-env.sh

提交回复
热议问题