- https://blog.csdn.net/camel84/article/details/81977766
- 先创建获取appID,然后把程序jar和依赖jar上传到hdfs
- http://localhost:8088/ws/v1/cluster/apps/new-application
- http://localhost:50070/webhdfs/v1/spark-examples_2.11-2.3.1.jar?op=GETFILESTATUS
- http://localhost:50070/webhdfs/v1/spark_libs.zip?op=GETFILESTATUS
- 然后提交
- http://localhost:8088/ws/v1/cluster/apps
- 然后查看
- http://localhost:8088/ws/v1/cluster/apps/application_1534993174414_0001