Skip to content

Commit d8d3325

Browse files
authored
HADOOP-18387. Fix incorrect placeholder in hadoop-common (#4679). Contributed by fanshilun.
1 parent 1cda2dc commit d8d3325

File tree

2 files changed

+3
-4
lines changed
  • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs
  • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-catalog/hadoop-yarn-applications-catalog-webapp/src/main/java/org/apache/hadoop/yarn/appcatalog/application

2 files changed

+3
-4
lines changed

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/DelegationTokenRenewer.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,8 @@ public <T extends FileSystem & Renewable> void removeRenewAction(
256256
try {
257257
action.cancel();
258258
} catch (InterruptedException ie) {
259-
LOG.error("Interrupted while canceling token for " + fs.getUri()
260-
+ "filesystem");
261-
LOG.debug("Exception in removeRenewAction: {}", ie);
259+
LOG.error("Interrupted while canceling token for {} filesystem.", fs.getUri());
260+
LOG.debug("Exception in removeRenewAction.", ie);
262261
}
263262
}
264263
}

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-catalog/hadoop-yarn-applications-catalog-webapp/src/main/java/org/apache/hadoop/yarn/appcatalog/application/YarnServiceClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public YarnServiceClient() {
6161
try {
6262
asc = new ApiServiceClient(conf);
6363
} catch (Exception e) {
64-
LOG.error("Error initialize YARN Service Client: {}", e);
64+
LOG.error("Error initialize YARN Service Client.", e);
6565
}
6666
}
6767

0 commit comments

Comments
 (0)