在spark中传递Arguments.在Intellij中执行代码传递运行时参数?

问题描述 投票:0回答:1

我想写的代码传递以下4个参数inputPath="c:/path...", batchId=123, lastFullBatchId=None, createFullBatch=true。

如何实现?

apache-spark spark-submit
1个回答
-1
投票

查看下面的屏幕,如何从Intillij中的程序参数传递给代码&在你的代码里面访问这些值。

Passing Arguments

© www.soinside.com 2019 - 2024. All rights reserved.