HADOOP-18387. Fix incorrect placeholder in hadoop-common (#4679). Contributed by fanshilun.

This commit is contained in:
slfan1989 2022-08-08 05:05:39 +08:00 committed by GitHub
parent 1cda2dcb6e
commit d8d3325d2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -256,9 +256,8 @@ public <T extends FileSystem & Renewable> void removeRenewAction(
try {
action.cancel();
} catch (InterruptedException ie) {
LOG.error("Interrupted while canceling token for " + fs.getUri()
+ "filesystem");
LOG.debug("Exception in removeRenewAction: {}", ie);
LOG.error("Interrupted while canceling token for {} filesystem.", fs.getUri());
LOG.debug("Exception in removeRenewAction.", ie);
}
}
}

View File

@ -61,7 +61,7 @@ public YarnServiceClient() {
try {
asc = new ApiServiceClient(conf);
} catch (Exception e) {
LOG.error("Error initialize YARN Service Client: {}", e);
LOG.error("Error initialize YARN Service Client.", e);
}
}