|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.conf.Configured
org.apache.hadoop.fs.FsShell
public class FsShell
Provide command line access to a FileSystem.
| Field Summary | |
|---|---|
static java.text.SimpleDateFormat |
dateForm
|
protected FileSystem |
fs
|
protected static java.text.SimpleDateFormat |
modifFmt
|
| Constructor Summary | |
|---|---|
FsShell()
|
|
FsShell(Configuration conf)
|
|
| Method Summary | |
|---|---|
static java.lang.String |
byteDesc(long len)
Deprecated. Consider using StringUtils.byteDesc(long) instead. |
void |
close()
|
Path |
getCurrentTrashDir()
Returns the Trash object associated with this shell. |
protected void |
init()
|
static java.lang.String |
limitDecimalTo2(double d)
Deprecated. Consider using StringUtils.limitDecimalTo2(double) instead. |
static void |
main(java.lang.String[] argv)
main() has some simple utility methods |
int |
run(java.lang.String[] argv)
run |
| 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 |
| Field Detail |
|---|
protected FileSystem fs
public static final java.text.SimpleDateFormat dateForm
protected static final java.text.SimpleDateFormat modifFmt
| Constructor Detail |
|---|
public FsShell()
public FsShell(Configuration conf)
| Method Detail |
|---|
protected void init()
throws java.io.IOException
java.io.IOExceptionpublic Path getCurrentTrashDir()
@Deprecated public static java.lang.String byteDesc(long len)
StringUtils.byteDesc(long) instead.
@Deprecated public static java.lang.String limitDecimalTo2(double d)
StringUtils.limitDecimalTo2(double) instead.
public int run(java.lang.String[] argv)
throws java.lang.Exception
run in interface Toolargv - command specific arguments.
java.lang.Exception
public void close()
throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] argv)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||