Enum Class LayoutVersion.Feature

java.lang.Object
java.lang.Enum<LayoutVersion.Feature>
org.apache.hadoop.hdfs.protocol.LayoutVersion.Feature
All Implemented Interfaces:
Serializable, Comparable<LayoutVersion.Feature>, Constable, org.apache.hadoop.hdfs.protocol.LayoutVersion.LayoutFeature
Enclosing class:
org.apache.hadoop.hdfs.protocol.LayoutVersion

public static enum LayoutVersion.Feature extends Enum<LayoutVersion.Feature> implements org.apache.hadoop.hdfs.protocol.LayoutVersion.LayoutFeature
Enums for features that change the layout version before rolling upgrade is supported.

To add a new layout version:
  • Define a new enum constant with a short enum name, the new layout version and description of the added feature.
  • When adding a layout version with an ancestor that is not same as its immediate predecessor, use the constructor where a specific ancestor can be passed.