X-czh commented on code in PR #21569:
URL: https://github.com/apache/flink/pull/21569#discussion_r1058296234
##########
flink-yarn/src/main/java/org/apache/flink/yarn/YarnClusterDescriptor.java:
##########
@@ -1264,9 +1265,11 @@ private ApplicationReport startAppMaster(
if (appState != lastAppState) {
LOG.info("Deploying cluster, current state " +
appState);
}
- if (System.currentTimeMillis() - startTime > 60000) {
+ if (System.currentTimeMillis() - lastLogTime > 60000) {
+ lastLogTime = System.currentTimeMillis();
LOG.info(
- "Deployment took more than 60 seconds. Please
check if the requested resources are available in the YARN cluster");
Review Comment:
lastLogTime is in millisesecond, but the logging time is in seconds
--
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]