HDFS-6797. DataNode logs wrong layoutversion during upgrade. (Contributed by Benoy Antony)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1615017 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b8597e6a10
commit
b5b862e3af
|
@ -406,6 +406,9 @@ Release 2.6.0 - UNRELEASED
|
|||
XmlEditsVisitor.java is JVM vendor specific. Breaks IBM JAVA.
|
||||
(Amir Sanjar via stevel)
|
||||
|
||||
HDFS-6797. DataNode logs wrong layoutversion during upgrade. (Benoy Antony
|
||||
via Arpit Agarwal)
|
||||
|
||||
Release 2.5.0 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -312,7 +312,7 @@ public class BlockPoolSliceStorage extends Storage {
|
|||
}
|
||||
LOG.info("Upgrading block pool storage directory " + bpSd.getRoot()
|
||||
+ ".\n old LV = " + this.getLayoutVersion() + "; old CTime = "
|
||||
+ this.getCTime() + ".\n new LV = " + nsInfo.getLayoutVersion()
|
||||
+ this.getCTime() + ".\n new LV = " + HdfsConstants.DATANODE_LAYOUT_VERSION
|
||||
+ "; new CTime = " + nsInfo.getCTime());
|
||||
// get <SD>/previous directory
|
||||
String dnRoot = getDataNodeStorageRoot(bpSd.getRoot().getCanonicalPath());
|
||||
|
|
Loading…
Reference in New Issue