Github user GJL commented on a diff in the pull request:
https://github.com/apache/flink/pull/5227#discussion_r160113517
--- Diff:
flink-scala-shell/src/main/scala/org/apache/flink/api/scala/FlinkShell.scala ---
@@ -281,16 +287,22 @@ object FlinkShell {
"-m", "yarn-cluster"
)
- val options = CliFrontendParser.parseRunCommand(args.toArray)
+ val commandLine = CliFrontendParser.parse(
+ CliFrontendParser.getRunCommandOptions,
+ args.toArray,
+ true)
+
+ val options = new RunOptions(commandLine)
--- End diff --
Unused variable `options`.
---