public class NamenodeAddressParam extends org.apache.hadoop.hdfs.web.resources.Param<String,org.apache.hadoop.hdfs.web.resources.StringParam.Domain>
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT
Default parameter value.
|
static String |
NAME
Parameter name.
|
Constructor and Description |
---|
NamenodeAddressParam(org.apache.hadoop.hdfs.server.namenode.NameNode namenode)
Construct an object using the RPC address of the given namenode.
|
NamenodeAddressParam(String str)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
getValueString() |
public static final String NAME
public static final String DEFAULT
public NamenodeAddressParam(String str)
str
- a string representation of the parameter value.public NamenodeAddressParam(org.apache.hadoop.hdfs.server.namenode.NameNode namenode)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.