Skip to content

Commit 8d23e78

Browse files
committed
HADOOP-7465. A several tiny improvements for the LOG format. Contributed by Xie Xianshan
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1147952 13f79535-47bb-0310-9956-ffa450edef68
1 parent 8c2708f commit 8d23e78

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

common/CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ Trunk (unreleased changes)
269269
HADOOP-7314. Add support for throwing UnknownHostException when a host doesn't
270270
resolve. (Jeffrey Naisbitt via jitendra)
271271

272+
HADOOP-7465. A several tiny improvements for the LOG format.
273+
(Xie Xianshan via eli)
274+
272275
OPTIMIZATIONS
273276

274277
HADOOP-7333. Performance improvement in PureJavaCrc32. (Eric Caspole

common/src/java/org/apache/hadoop/fs/LocalDirAllocator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ private void confChanged(Configuration conf) throws IOException {
232232
dirs.add(localDirs[i]);
233233
dfList.add(new DF(new File(localDirs[i]), 30000));
234234
} catch (DiskErrorException de) {
235-
LOG.warn( localDirs[i] + "is not writable\n", de);
235+
LOG.warn( localDirs[i] + " is not writable\n", de);
236236
}
237237
} else {
238238
LOG.warn( "Failed to create " + localDirs[i]);

common/src/java/org/apache/hadoop/ipc/Client.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ public Connection(ConnectionId remoteId) throws IOException {
245245
this.doPing = remoteId.getDoPing();
246246
this.pingInterval = remoteId.getPingInterval();
247247
if (LOG.isDebugEnabled()) {
248-
LOG.debug("The ping interval is" + this.pingInterval + "ms.");
248+
LOG.debug("The ping interval is " + this.pingInterval + " ms.");
249249
}
250250

251251
UserGroupInformation ticket = remoteId.getTicket();

0 commit comments

Comments
 (0)