Radeity commented on code in PR #14237:
URL: 
https://github.com/apache/dolphinscheduler/pull/14237#discussion_r1210155641


##########
dolphinscheduler-task-plugin/dolphinscheduler-task-flink/src/main/java/org/apache/dolphinscheduler/plugin/task/flink/FlinkArgsUtils.java:
##########
@@ -254,13 +279,6 @@ private static List<String> 
buildRunCommandLineForOthers(TaskExecutionContext ta
                     args.add(taskManagerMemory);
                 }
 
-                if (StringUtils.isEmpty(others) || 
!others.contains(FlinkConstants.FLINK_QUEUE)) {
-                    String queue = flinkParameters.getQueue();
-                    if (StringUtils.isNotEmpty(queue)) { // -yqu
-                        args.add(FlinkConstants.FLINK_QUEUE);
-                        args.add(queue);
-                    }
-                }

Review Comment:
   I think you should add if-else statement here to set different arg name for 
yarn queue according to Flink version. Please remove judgement from L195-L244, 
in which just build run command.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to