NameNode Capacity

Sample Image

Description

One of the most significant components of Hadoop is the highly scalable HDFS filesystem. As with most filesystems, important aspects to monitor are used and free space. As you can see from our example 1TB of our 78TB available is used. Be careful, users can chose replication per file! If the default replication were set to 4 we would only have about 20 usable TB.

Sample Output

            sh FSNamesystemStatus.sh \
            service:jmx:rmi:///jndi/rmi://10.0.1.2:10001/jmxrmi \
            controlRole yourpassword

            CapacityTotal:2113748992 CapacityUsed:40960 CapacityRemaining:812830720 \
            BlocksTotal:1 FilesTotal:9 numDeadDataNodes:0 numLiveDataNodes:1
          

Code Specific

Unlike some Hadoop variables that are based on a sample period these values when extracted from JMX represent the current state.

Continue to NameNode Stats Graph