Skip to content

Commit 820aaee

Browse files
author
zhujiang02
committed
HADOOP-18387. Fix incorrect placeholder in hadoop-module.
1 parent 5899b2f commit 820aaee

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

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

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

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.getMessage(), e);
227+
LOG.error(" Failure {}", e, e);
228228
LOG.error(message);
229229

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

0 commit comments

Comments
 (0)