Hi,
I have been trying to debug the nexmark queries in the IntelliJ. I can run
those queries but I need to debug them to track down a specific issue.
Challenge is that I cannot figure out how to pass the arguments for debug
configuration in IntelliJ
When I run from the terminal, I use following command
/gradlew :sdks:java:testing:nexmark:run -Pnexmark.runner=":runners:flink:1.11"
-Pnexmark.args="
--runner=FlinkRunner
--suite=SMOKE
--streamTimeout=60
--streaming=true
--manageResources=false
--monitorJobs=true
--flinkMaster=[local] --numEvents=100000 --query=4"
but when I try to setup the debug configuration in Intellij and pass the
arguments, It say it cannot find these properties on Nexmark options class.
java.lang.IllegalArgumentException: Class interface
org.apache.beam.sdk.nexmark.NexmarkOptions missing a property named
'nexmark.args'
I have tried passing the argument in following different ways but no luck, Any
thoughts?
* run --args = "--Pnexmark.runner=':runners:flink:1.11' --Pnexmark.args='
--runner=FlinkRunner
--suite=SMOKE
--streamTimeout=60
--streaming=true
--manageResources=false
--monitorJobs=true
--flinkMaster=[local] --numEvents=100000 --query=4'"
* run --args = "--nexmark.runner=':runners:flink:1.11' --nexmark.args='
--runner=FlinkRunner
--suite=SMOKE
--streamTimeout=60
--streaming=true
--manageResources=false
--monitorJobs=true
--flinkMaster=[local] --numEvents=100000 --query=4'"
* run --args = "--runner=':runners:flink:1.11' --args='
--runner=FlinkRunner
--suite=SMOKE
--streamTimeout=60
--streaming=true
--manageResources=false
--monitorJobs=true
--flinkMaster=[local] --numEvents=100000 --query=4'"
Any thoughts how we pass the arguments or an alternative approach to debug the
Nexmark queries would be helpful. Thanks
BR,
Haseeb