Package | Description |
---|---|
org.apache.hadoop.hdfs.server.namenode | |
org.apache.hadoop.hdfs.server.namenode.ha |
Modifier and Type | Method and Description |
---|---|
static NameNode.OperationCategory |
NameNode.OperationCategory.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NameNode.OperationCategory[] |
NameNode.OperationCategory.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
BackupState.checkOperation(HAContext context,
NameNode.OperationCategory op) |
void |
NameNode.NameNodeHAContext.checkOperation(NameNode.OperationCategory op)
Check if an operation of given category is allowed
|
void |
Namesystem.checkOperation(NameNode.OperationCategory read) |
void |
FSNamesystem.checkOperation(NameNode.OperationCategory op) |
Modifier and Type | Method and Description |
---|---|
abstract void |
HAState.checkOperation(HAContext context,
NameNode.OperationCategory op)
Check if an operation is supported in a given state.
|
void |
ActiveState.checkOperation(HAContext context,
NameNode.OperationCategory op) |
void |
StandbyState.checkOperation(HAContext context,
NameNode.OperationCategory op) |
void |
HAContext.checkOperation(NameNode.OperationCategory op)
Verify that the given operation category is allowed in the current state.
|
Copyright © 2013 Apache Software Foundation. All rights reserved.