Class RemoteNameNodeInfo
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.ha.RemoteNameNodeInfo
Information about a single remote NameNode
-
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.apache.hadoop.conf.Configurationstatic List<RemoteNameNodeInfo>getRemoteNameNodes(org.apache.hadoop.conf.Configuration conf) static List<RemoteNameNodeInfo>getRemoteNameNodes(org.apache.hadoop.conf.Configuration conf, String nsId) inthashCode()voidtoString()
-
Method Details
-
getRemoteNameNodes
public static List<RemoteNameNodeInfo> getRemoteNameNodes(org.apache.hadoop.conf.Configuration conf) throws IOException - Throws:
IOException
-
getRemoteNameNodes
public static List<RemoteNameNodeInfo> getRemoteNameNodes(org.apache.hadoop.conf.Configuration conf, String nsId) throws IOException - Throws:
IOException
-
getIpcAddress
-
getNameNodeID
-
getHttpAddress
-
getConfiguration
public org.apache.hadoop.conf.Configuration getConfiguration() -
setIpcAddress
-
toString
-
equals
-
hashCode
public int hashCode()
-