org.apache.hadoop.hdfs.server.datanode
Interface DataNodeMXBean


@InterfaceAudience.Public
@InterfaceStability.Stable
public interface DataNodeMXBean

This is the JMX management interface for data node information


Method Summary
 String getClusterId()
          Gets the cluster id.
 String getHttpPort()
          Gets the http port.
 String getNamenodeAddresses()
          Gets the namenode IP addresses
 String getRpcPort()
          Gets the rpc port.
 String getVersion()
          Gets the version of Hadoop.
 String getVolumeInfo()
          Gets the information of each volume on the Datanode.
 int getXceiverCount()
          Returns an estimate of the number of Datanode threads actively transferring blocks.
 

Method Detail

getVersion

String getVersion()
Gets the version of Hadoop.

Returns:
the version of Hadoop

getRpcPort

String getRpcPort()
Gets the rpc port.

Returns:
the rpc port

getHttpPort

String getHttpPort()
Gets the http port.

Returns:
the http port

getNamenodeAddresses

String getNamenodeAddresses()
Gets the namenode IP addresses

Returns:
the namenode IP addresses that the datanode is talking to

getVolumeInfo

String getVolumeInfo()
Gets the information of each volume on the Datanode. Please see the implementation for the format of returned information.

Returns:
the volume info

getClusterId

String getClusterId()
Gets the cluster id.

Returns:
the cluster id

getXceiverCount

int getXceiverCount()
Returns an estimate of the number of Datanode threads actively transferring blocks.



Copyright © 2013 Apache Software Foundation. All Rights Reserved.