Class NameNodeLayoutVersion
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.NameNodeLayoutVersion
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnums for features that change the layout version. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final Map<Integer,SortedSet<LayoutVersion.LayoutFeature>> Build layout version and corresponding feature matrixstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SortedSet<LayoutVersion.LayoutFeature>getFeatures(int lv) static booleansupports(LayoutVersion.LayoutFeature f, int lv)
-
Field Details
-
FEATURES
Build layout version and corresponding feature matrix -
CURRENT_LAYOUT_VERSION
public static final int CURRENT_LAYOUT_VERSION -
MINIMUM_COMPATIBLE_LAYOUT_VERSION
public static final int MINIMUM_COMPATIBLE_LAYOUT_VERSION
-
-
Constructor Details
-
NameNodeLayoutVersion
public NameNodeLayoutVersion()
-
-
Method Details
-
getFeatures
-
supports
-