public class NameNodeResourceChecker extends Object
hasAvailableDiskSpace
- which will return true if and only if
the NameNode has disk space available on all volumes which are configured to
be checked. Volumes containing file system name/edits dirs are added by
default, and arbitrary extra volumes may be configured as well.Constructor and Description |
---|
NameNodeResourceChecker(org.apache.hadoop.conf.Configuration conf)
Create a NameNodeResourceChecker, which will check the name dirs and edits
dirs set in
conf . |
public NameNodeResourceChecker(org.apache.hadoop.conf.Configuration conf) throws IOException
conf
.conf
- IOException
Copyright © 2013 Apache Software Foundation. All Rights Reserved.