HDFS-4110. Refine a log printed in JNStorage. Contributed by Liang Xie.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1417597 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2012-12-05 19:24:47 +00:00
parent fd032dd9e3
commit 9c19d236ef
2 changed files with 3 additions and 2 deletions

View File

@ -137,6 +137,8 @@ Release 2.0.3-alpha - Unreleased
HDFS-3571. Allow EditLogFileInputStream to read from a remote URL (todd)
HDFS-4110. Refine a log printed in JNStorage. (Liang Xie via suresh)
OPTIMIZATIONS
BUG FIXES

View File

@ -171,8 +171,7 @@ private static void purgeMatching(File dir, List<Pattern> patterns,
void format(NamespaceInfo nsInfo) throws IOException {
setStorageInfo(nsInfo);
LOG.info("Formatting journal storage directory " +
sd + " with nsid: " + getNamespaceID());
LOG.info("Formatting journal " + sd + " with nsid: " + getNamespaceID());
// Unlock the directory before formatting, because we will
// re-analyze it after format(). The analyzeStorage() call
// below is reponsible for re-locking it. This is a no-op