Skip to content

Commit

Permalink
[FLINK-24963][yarn] Improve output of queue names
Browse files Browse the repository at this point in the history
  • Loading branch information
zuston committed Nov 25, 2021
1 parent a84e38a commit 1356888
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -744,10 +744,7 @@ private void checkYarnQueues(YarnClient yarnClient) {
}
}
if (!queueFound) {
String queueNames = "";
for (QueueInfo queue : queues) {
queueNames += queue.getQueueName() + ", ";
}
String queueNames = StringUtils.toQuotedListString(queues.toArray());
LOG.warn(
"The specified queue '"
+ this.yarnQueue
Expand Down

0 comments on commit 1356888

Please sign in to comment.