[
https://issues.apache.org/jira/browse/HADOOP-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Edward Yoon updated HADOOP-1768:
--------------------------------
Attachment: shell.patch
attached patch for dfs command.
{code}
HBase > dfs;
Usage: java FsShell
[-fs <local | file system URI>]
[-conf <configuration file>]
[-D <[property=value>]
[-ls <path>]
[-lsr <path>]
[-du <path>]
[-dus <path>]
[-mv <src> <dst>]
[-cp <src> <dst>]
[-rm <path>]
[-rmr <path>]
[-expunge]
[-put <localsrc> <dst>]
[-copyFromLocal <localsrc> <dst>]
[-moveFromLocal <localsrc> <dst>]
[-get [-crc] <src> <localdst>]
[-getmerge <src> <localdst> [addnl]]
[-cat <src>]
[-copyToLocal [-crc] <src> <localdst>]
[-moveToLocal [-crc] <src> <localdst>]
[-mkdir <path>]
[-setrep [-R] [-w] <rep> <path/file>]
[-touchz <path>]
[-test -[ezd] <path>]
[-stat [format] <path>]
[-help [cmd]]
HBase > dfs -ls;
Found 1 items
/user/root/udanax <dir> 2007-08-16 08:37
HBase > dfs -ls udanax;
Found 0 items
HBase > dfs -copyFromLocal /root/workspace/hadoop/NOTICE.txt udanax;
HBase > dfs -ls udanax;
Found 1 items
/user/root/udanax/NOTICE.txt <r 1> 101 2007-08-16 08:38
HBase > exit;
[EMAIL PROTECTED] hadoop]#
{code}
> [Hbase Shell] DFS command using Hadoop FsShell operations.
> ----------------------------------------------------------
>
> Key: HADOOP-1768
> URL: https://issues.apache.org/jira/browse/HADOOP-1768
> Project: Hadoop
> Issue Type: Improvement
> Components: contrib/hbase
> Affects Versions: 0.14.0
> Environment: All enviorments.
> Reporter: Edward Yoon
> Priority: Minor
> Fix For: 0.15.0
>
> Attachments: shell.patch
>
>
> I want to add a dfs command using Hadoop FsShell operations for convenience
> of Hbase Shell usage.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.