public class FsShell extends Configured implements Tool
限定符和类型 | 字段和说明 |
---|---|
static SimpleDateFormat |
dateForm |
protected static SimpleDateFormat |
modifFmt |
构造器和说明 |
---|
FsShell() |
FsShell(Configuration conf) |
限定符和类型 | 方法和说明 |
---|---|
static String |
byteDesc(long len)
已过时。
Consider using
StringUtils.byteDesc(long) instead. |
void |
close() |
Path |
getCurrentTrashDir()
Returns the Trash object associated with this shell.
|
protected FileSystem |
getFS() |
protected Trash |
getTrash() |
protected void |
init() |
static String |
limitDecimalTo2(double d)
已过时。
Consider using
StringUtils.limitDecimalTo2(double) instead. |
static void |
main(String[] argv)
main() has some simple utility methods
|
int |
run(String[] argv)
run
|
getConf, setConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConf, setConf
public static final SimpleDateFormat dateForm
protected static final SimpleDateFormat modifFmt
public FsShell()
public FsShell(Configuration conf)
protected void init() throws IOException
IOException
protected FileSystem getFS() throws IOException
IOException
protected Trash getTrash() throws IOException
IOException
public Path getCurrentTrashDir() throws IOException
IOException
@Deprecated public static String byteDesc(long len)
StringUtils.byteDesc(long)
instead.@Deprecated public static String limitDecimalTo2(double d)
StringUtils.limitDecimalTo2(double)
instead.public void close() throws IOException
IOException
Copyright © 2009 The Apache Software Foundation