Package org.apache.hadoop.hdfs.tools
Class CacheAdmin
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hdfs.tools.CacheAdmin
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable,org.apache.hadoop.util.Tool
@Private
public class CacheAdmin
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
This class implements command-line operations on the HDFS Cache.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
-
Constructor Details
-
CacheAdmin
public CacheAdmin() -
CacheAdmin
public CacheAdmin(org.apache.hadoop.conf.Configuration conf)
-
-
Method Details
-
run
- Specified by:
runin interfaceorg.apache.hadoop.util.Tool- Throws:
IOException
-
main
- Throws:
Exception
-