org.apache.hadoop.hdfs.server.namenode
Interface NameNodeStatusMXBean


@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface NameNodeStatusMXBean

This is the JMX management interface for NameNode status information


Method Summary
 String getHostAndPort()
          Gets the host and port colon separated.
 String getNNRole()
          Gets the NameNode role.
 String getState()
          Gets the NameNode state.
 boolean isSecurityEnabled()
          Gets if security is enabled.
 

Method Detail

getNNRole

String getNNRole()
Gets the NameNode role.

Returns:
the NameNode role.

getState

String getState()
Gets the NameNode state.

Returns:
the NameNode state.

getHostAndPort

String getHostAndPort()
Gets the host and port colon separated.

Returns:
host and port colon separated.

isSecurityEnabled

boolean isSecurityEnabled()
Gets if security is enabled.

Returns:
true, if security is enabled.


Copyright © 2014 Apache Software Foundation. All Rights Reserved.