Skip to content

Commit 5899b2f

Browse files
author
slfan1989
committed
HADOOP-18387. Fix incorrect placeholder in hadoop-module.
1 parent 123d1aa commit 5899b2f

File tree

3 files changed

+4
-4
lines changed
  • hadoop-common-project
  • 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

3 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,9 @@ 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()
259+
LOG.error("Interrupted while canceling token for {} filesystem." + fs.getUri()
260260
+ "filesystem");
261-
LOG.debug("Exception in removeRenewAction: {}", ie);
261+
LOG.debug("Exception in removeRenewAction.", ie);
262262
}
263263
}
264264
}

hadoop-common-project/hadoop-registry/src/main/java/org/apache/hadoop/registry/server/services/RegistryAdminService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ protected void serviceStart() throws Exception {
224224
bindingDiagnosticDetails(),
225225
dumpRegistryRobustly(true));
226226

227-
LOG.error(" Failure {}", e, e);
227+
LOG.error(" Failure {}", e.getMessage(), e);
228228
LOG.error(message);
229229

230230
// TODO: this is something temporary to deal with the problem

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)