openapi_executeJar_application.json 789 B

123456789101112131415161718192021222324252627
  1. /* http://127.0.0.1:8888/openapi/executeJar */
  2. {
  3. /* required-start */
  4. "type":"yarn-application",
  5. "gatewayConfig":{
  6. "clusterConfig":{
  7. "flinkConfigPath":"/opt/src/flink-1.13.3_conf/conf",
  8. "flinkLibPath":"hdfs:///flink13/lib/flinklib",
  9. "yarnConfigPath":"/usr/local/hadoop/hadoop-2.7.7/etc/hadoop"
  10. },
  11. "appConfig":{
  12. "userJarPath":"hdfs:///flink12/jar/currencyAppJar.jar",
  13. "userJarParas":["--id","2774,2775,2776"," --type","dwd"],
  14. "userJarMainAppClass":"com.app.MainApp"
  15. },
  16. "flinkConfig": {
  17. "configuration":{
  18. "parallelism.default": 1
  19. }
  20. }
  21. },
  22. /* required-end */
  23. /* custom-start */
  24. "jobName":"openapitest",
  25. "savePointPath":"hdfs://ns/flink/savepoints/savepoint-5f4b8c-4326844a6843"
  26. /* custom-end */
  27. }