We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9e2fd6e + 87fe453 commit 215d231Copy full SHA for 215d231
api/src/main/resources/plugins/upstart.conf.py.tpl
@@ -4,6 +4,5 @@ respawn
4
respawn limit unlimited
5
pre-start exec /opt/${environment_namespace}/${component_application}/${component_name}/yarn-kill.py
6
pre-stop exec /opt/${environment_namespace}/${component_application}/${component_name}/yarn-kill.py
7
-env programDir=/opt/${environment_namespace}/${component_application}/${component_name}/
8
chdir /opt/${environment_namespace}/${component_application}/${component_name}/
9
-exec sudo -u hdfs spark-submit --driver-java-options "-Dlog4j.configuration=file:///${programDir}log4j.properties" --conf 'spark.executor.extraJavaOptions=-Dlog4j.configuration=file:///${programDir}log4j.properties' --name '${component_job_name}' --master yarn-cluster --py-files application.properties,${component_py_files} ${component_spark_submit_args} ${component_main_py}
+exec sudo -u hdfs spark-submit --driver-java-options "-Dlog4j.configuration=file:///opt/${environment_namespace}/${component_application}/${component_name}/log4j.properties" --conf 'spark.executor.extraJavaOptions=-Dlog4j.configuration=file:///opt/${environment_namespace}/${component_application}/${component_name}/log4j.properties' --name '${component_job_name}' --master yarn-cluster --py-files application.properties,${component_py_files} ${component_spark_submit_args} ${component_main_py}
0 commit comments