| Enum Constant | Description |
|---|---|
LOADING_EDITS |
The namenode is loading the edits file and applying its operations to the
in-memory metadata.
|
LOADING_FSIMAGE |
The namenode is loading the fsimage file into memory.
|
SAFEMODE |
The namenode has entered safemode, awaiting block reports from data nodes.
|
SAVING_CHECKPOINT |
The namenode is saving a new checkpoint.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getDescription() |
Returns phase description.
|
java.lang.String |
getName() |
Returns phase name.
|
static Phase |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Phase[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Phase LOADING_FSIMAGE
public static final Phase LOADING_EDITS
public static final Phase SAVING_CHECKPOINT
public static final Phase SAFEMODE
public static Phase[] values()
for (Phase c : Phase.values()) System.out.println(c);
public static Phase valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getDescription()
public java.lang.String getName()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.