HDFS-6447. balancer should timestamp the completion message. Contributed by Juan Yu.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1598411 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Wang 2014-05-29 21:38:39 +00:00
parent 5dff070e51
commit f40a36758b
2 changed files with 4 additions and 0 deletions

View File

@ -451,6 +451,9 @@ Release 2.5.0 - UNRELEASED
HDFS-6356. Fix typo in DatanodeLayoutVersion. (Tulasi G via wang) HDFS-6356. Fix typo in DatanodeLayoutVersion. (Tulasi G via wang)
HDFS-6447. balancer should timestamp the completion message.
(Juan Yu via wang).
OPTIMIZATIONS OPTIMIZATIONS
HDFS-6214. Webhdfs has poor throughput for files >2GB (daryn) HDFS-6214. Webhdfs has poor throughput for files >2GB (daryn)

View File

@ -1552,6 +1552,7 @@ public class Balancer {
System.out.println(e + ". Exiting ..."); System.out.println(e + ". Exiting ...");
return ReturnStatus.INTERRUPTED.code; return ReturnStatus.INTERRUPTED.code;
} finally { } finally {
System.out.format("%-24s ", DateFormat.getDateTimeInstance().format(new Date()));
System.out.println("Balancing took " + time2Str(Time.now()-startTime)); System.out.println("Balancing took " + time2Str(Time.now()-startTime));
} }
} }