YARN-11516. Improve FederationStateStoreFacade#existsApplicationHomeSubCluster/existsReservationHomeSubCluster Log Level. (#5755)

This commit is contained in:
slfan1989 2023-06-21 01:23:51 +08:00 committed by GitHub
parent 35d77a6359
commit 3d2cddd235
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -806,7 +806,7 @@ public boolean existsApplicationHomeSubCluster(ApplicationId applicationId) {
return true;
}
} catch (YarnException e) {
LOG.warn("get homeSubCluster by applicationId = {} error.", applicationId, e);
LOG.debug("get homeSubCluster by applicationId = {} error.", applicationId, e);
}
return false;
}
@ -893,7 +893,7 @@ public boolean existsReservationHomeSubCluster(ReservationId reservationId) {
return true;
}
} catch (YarnException e) {
LOG.warn("get homeSubCluster by reservationId = {} error.", reservationId, e);
LOG.debug("get homeSubCluster by reservationId = {} error.", reservationId, e);
}
return false;
}