Fail to execute spark job on xenial vanilla image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sahara |
Fix Released
|
Undecided
|
Shu Yingya |
Bug Description
env: xenial ubuntu vanilla image built by SIE master branch
step:
1. run command in openstack controller node
----
openstack --debug dataprocessing job execute --job-template spark-job-template --cluster old --configs edp.java.
----
2. The job will finish in status "Done with Error"
3. ssh into the master node and execute:
----
./launch_command sudo -u hadoop /opt/spark/
----
===Error message
ubuntu The program 'python' can be found in the following packages:
===
analysis:
spark job would fail to execute because ubuntu xenial doesn't preinstall python2.7. and the the file located at "https:/
summary: |
- Failed to execute spark job on xenial ubuntu vanilla image + Fail to execute spark job on xenial vanilla image |
not sure "apt install python-minimal" is a good way to solve it.
but at least it is unreasonable to change the shebang in "launch_command.py" script.