Uses of Enum Class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NamenodeRole (Apache Hadoop HDFS 3.5.0 API)
Description: use: package: org.apache.hadoop.hdfs.server.common, interface: HdfsServerConstants, enum: NamenodeRole

# Uses of Enum Class
org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NamenodeRole

Packages that use HdfsServerConstants.NamenodeRole
Package
Description
org.apache.hadoop.hdfs.protocolPB
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.hadoop.hdfs.server.common
org.apache.hadoop.hdfs.server.namenode
org.apache.hadoop.hdfs.server.namenode.metrics
org.apache.hadoop.hdfs.server.protocol

- ## Uses of HdfsServerConstants.NamenodeRole in org.apache.hadoop.hdfs.protocolPB

  Methods in org.apache.hadoop.hdfs.protocolPB that return HdfsServerConstants.NamenodeRole
  Modifier and Type
  Method
  Description
  `static HdfsServerConstants.NamenodeRole`
  PBHelper.`convert(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamenodeRegistrationProto.NamenodeRoleProto role)`
  Methods in org.apache.hadoop.hdfs.protocolPB with parameters of type HdfsServerConstants.NamenodeRole
  Modifier and Type
  Method
  Description
  `static org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamenodeRegistrationProto.NamenodeRoleProto`
  PBHelper.`convert(HdfsServerConstants.NamenodeRole role)`

- ## Uses of HdfsServerConstants.NamenodeRole in org.apache.hadoop.hdfs.server.common

  Methods in org.apache.hadoop.hdfs.server.common that return HdfsServerConstants.NamenodeRole
  Modifier and Type
  Method
  Description
  `HdfsServerConstants.NamenodeRole`
  HdfsServerConstants.StartupOption.`toNodeRole()`
  `static HdfsServerConstants.NamenodeRole`
  HdfsServerConstants.NamenodeRole.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static HdfsServerConstants.NamenodeRole[]`
  HdfsServerConstants.NamenodeRole.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

- ## Uses of HdfsServerConstants.NamenodeRole in org.apache.hadoop.hdfs.server.namenode

  Fields in org.apache.hadoop.hdfs.server.namenode declared as HdfsServerConstants.NamenodeRole
  Modifier and Type
  Field
  Description
  `protected final HdfsServerConstants.NamenodeRole`
  NameNode.`role`
  Methods in org.apache.hadoop.hdfs.server.namenode that return HdfsServerConstants.NamenodeRole
  Modifier and Type
  Method
  Description
  `HdfsServerConstants.NamenodeRole`
  NameNode.`getRole()`
  Methods in org.apache.hadoop.hdfs.server.namenode with parameters of type HdfsServerConstants.NamenodeRole
  Modifier and Type
  Method
  Description
  `static String`
  NameNode.`composeNotStartedMessage(HdfsServerConstants.NamenodeRole role)`
  `static void`
  NameNode.`initMetrics(org.apache.hadoop.conf.Configuration conf, HdfsServerConstants.NamenodeRole role)`
  Constructors in org.apache.hadoop.hdfs.server.namenode with parameters of type HdfsServerConstants.NamenodeRole
  Modifier
  Constructor
  Description
  `protected`
  `NameNode(org.apache.hadoop.conf.Configuration conf, HdfsServerConstants.NamenodeRole role)`

- ## Uses of HdfsServerConstants.NamenodeRole in org.apache.hadoop.hdfs.server.namenode.metrics

  Methods in org.apache.hadoop.hdfs.server.namenode.metrics with parameters of type HdfsServerConstants.NamenodeRole
  Modifier and Type
  Method
  Description
  `static NameNodeMetrics`
  NameNodeMetrics.`create(org.apache.hadoop.conf.Configuration conf, HdfsServerConstants.NamenodeRole r)`

- ## Uses of HdfsServerConstants.NamenodeRole in org.apache.hadoop.hdfs.server.protocol

  Methods in org.apache.hadoop.hdfs.server.protocol that return HdfsServerConstants.NamenodeRole
  Modifier and Type
  Method
  Description
  `HdfsServerConstants.NamenodeRole`
  NamenodeRegistration.`getRole()`
  Get name-node role.
  Methods in org.apache.hadoop.hdfs.server.protocol with parameters of type HdfsServerConstants.NamenodeRole
  Modifier and Type
  Method
  Description
  `boolean`
  NamenodeRegistration.`isRole(HdfsServerConstants.NamenodeRole that)`
  Constructors in org.apache.hadoop.hdfs.server.protocol with parameters of type HdfsServerConstants.NamenodeRole
  Modifier
  Constructor
  Description
  ``
  `NamenodeRegistration(String address, String httpAddress, StorageInfo storageInfo, HdfsServerConstants.NamenodeRole role)`