We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
• 到github下载ComplexApplication.scala • 将ComplexApplication.scala放到一个工程中编译成Jar包 • 上传到虚拟机 • 设置卷映射,使得当前的Jar包能被spark-master的容器读取到 • 运行提交应用的命令 docker exec -it spark-master /spark/bin/spark-submit --class ComplexApplication /apps/ComplexApplication.jar • 查看18080端口可以看到应用成功运行了 • 设置alias alias run_complex=' docker exec -it spark-master /spark/bin/spark-submit --class ComplexApplication /apps/ComplexApplication.jar'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
• 到github下载ComplexApplication.scala
![image](https://user-images.githubusercontent.com/97745253/155868559-283e6dfb-7840-4f56-ae00-f26eda483ba7.png)
![image](https://user-images.githubusercontent.com/97745253/155868566-34e72be5-7488-4331-8b42-a82e65ba46a0.png)
• 将ComplexApplication.scala放到一个工程中编译成Jar包
• 上传到虚拟机
• 设置卷映射,使得当前的Jar包能被spark-master的容器读取到
• 运行提交应用的命令
docker exec -it spark-master /spark/bin/spark-submit --class ComplexApplication /apps/ComplexApplication.jar
• 查看18080端口可以看到应用成功运行了
• 设置alias
alias run_complex=' docker exec -it spark-master /spark/bin/spark-submit --class ComplexApplication /apps/ComplexApplication.jar'
The text was updated successfully, but these errors were encountered: