Class LsSnapshot

java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hdfs.tools.snapshot.LsSnapshot
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool

@Private public class LsSnapshot extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
A tool used to list all snapshottable directories that are owned by the current user. The tool returns all the snapshottable directories if the user is a super user.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] argv)
     
    int
    run(String[] argv)
     

    Methods inherited from class org.apache.hadoop.conf.Configured

    getConf, setConf

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.hadoop.conf.Configurable

    getConf, setConf
  • Constructor Details

    • LsSnapshot

      public LsSnapshot()
  • Method Details