[ 
https://issues.apache.org/jira/browse/HADOOP-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528111
 ] 

stack commented on HADOOP-1905:
-------------------------------

-1

Whats wrong with using the 'fs' command you recently added to do ls'ing Edward? 
 E.g: Hbase> fs -ls file:///home/stack.  Its also portable if I'm not mistaken 
whereas unix ls is not.  Also, do you think this addition belongs in hbase 
shell?  Why would users want to do such a thing inside of an hbase shell when 
they can just open a new terminal window and have to hand a purposed, superior 
unix shell?  If we add 'ls', won't there then be a pressure for the hbase shell 
to also have a 'ps' 'top', etc. I vote not to add this feature.

> Addition of unix ls command to FS command
> -----------------------------------------
>
>                 Key: HADOOP-1905
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1905
>             Project: Hadoop
>          Issue Type: Sub-task
>          Components: contrib/hbase
>    Affects Versions: 0.14.1
>         Environment: All environments
>            Reporter: Edward Yoon
>            Priority: Minor
>             Fix For: 0.15.0
>
>         Attachments: shell_fs.patch
>
>
> I think ls command would be a useful one.
> {code}
> Hbase > fs;
> FS        Filesystem commands
> Syntax:
> Hadoop FsShell operations
>         DFS [-option] arguments...;
> Unix ls command
>         LS [-option] arguments...;
> Hbase > dfs;
> Usage: java FsShell
>            [-ls <path>]
>            [-lsr <path>]
>            ...
> Hbase > ls;
> bin          build        build.xml    CHANGES.txt  conf         docs
> index.html   lib          LICENSE.txt  NOTICE.txt   output       README.txt
> src          ...
> Hbase > ls -a ./conf;
> .svn                        commons-logging.properties
> configuration.xsl           hadoop-default.xml
> hadoop-env.sh               hadoop-env.sh.template
> ...                         ...
> Hbase > ls -l ./build;
> rwd     0       Sep 10, 2007 11:05 AM   ant
> rw-     6662    Sep 10, 2007 2:35 PM    ant-hadoop-0.15.0-dev.jar
> rwd     0       Sep 5, 2007 10:05 AM    c++
> rwd     0       Sep 6, 2007 2:15 PM     classes
> rwd     0       Sep 5, 2007 10:07 AM    contrib
> rwd     0       Sep 17, 2007 9:17 AM    docs
> ...
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to