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
This commit is contained in:
parent
eaa0638c12
commit
341b4a444e
@ -269,6 +269,9 @@ Trunk (unreleased changes)
|
|||||||
HADOOP-7314. Add support for throwing UnknownHostException when a host doesn't
|
HADOOP-7314. Add support for throwing UnknownHostException when a host doesn't
|
||||||
resolve. (Jeffrey Naisbitt via jitendra)
|
resolve. (Jeffrey Naisbitt via jitendra)
|
||||||
|
|
||||||
|
HADOOP-7465. A several tiny improvements for the LOG format.
|
||||||
|
(Xie Xianshan via eli)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HADOOP-7333. Performance improvement in PureJavaCrc32. (Eric Caspole
|
HADOOP-7333. Performance improvement in PureJavaCrc32. (Eric Caspole
|
||||||
|
@ -232,7 +232,7 @@ private void confChanged(Configuration conf) throws IOException {
|
|||||||
dirs.add(localDirs[i]);
|
dirs.add(localDirs[i]);
|
||||||
dfList.add(new DF(new File(localDirs[i]), 30000));
|
dfList.add(new DF(new File(localDirs[i]), 30000));
|
||||||
} catch (DiskErrorException de) {
|
} catch (DiskErrorException de) {
|
||||||
LOG.warn( localDirs[i] + "is not writable\n", de);
|
LOG.warn( localDirs[i] + " is not writable\n", de);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
LOG.warn( "Failed to create " + localDirs[i]);
|
LOG.warn( "Failed to create " + localDirs[i]);
|
||||||
|
@ -245,7 +245,7 @@ public Connection(ConnectionId remoteId) throws IOException {
|
|||||||
this.doPing = remoteId.getDoPing();
|
this.doPing = remoteId.getDoPing();
|
||||||
this.pingInterval = remoteId.getPingInterval();
|
this.pingInterval = remoteId.getPingInterval();
|
||||||
if (LOG.isDebugEnabled()) {
|
if (LOG.isDebugEnabled()) {
|
||||||
LOG.debug("The ping interval is" + this.pingInterval + "ms.");
|
LOG.debug("The ping interval is " + this.pingInterval + " ms.");
|
||||||
}
|
}
|
||||||
|
|
||||||
UserGroupInformation ticket = remoteId.getTicket();
|
UserGroupInformation ticket = remoteId.getTicket();
|
||||||
|
Loading…
Reference in New Issue
Block a user