You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Edward Yoon (JIRA)" <ji...@apache.org> on 2007/09/17 09:49:32 UTC

[jira] Created: (HADOOP-1905) Addition of unix ls command to FS command

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


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.


[jira] Commented: (HADOOP-1905) Addition of unix ls command to FS command

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546222 ] 

Edward Yoon commented on HADOOP-1905:
-------------------------------------

I close this issue.

> 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
>         Attachments: shell_fs.patch, shell_fs_v01.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.


[jira] Issue Comment Edited: (HADOOP-1905) Addition of unix ls command to FS command

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528200 ] 

udanax edited comment on HADOOP-1905 at 9/17/07 7:02 PM:
--------------------------------------------------------------

I think it's different between fs -ls, -ls.

{code}
Hbase > dfs -ls ../;
Found 1 items
/user/root      <dir>           2007-09-18 09:32

Hbase > ls ../;
Desktop             anaconda-ks.cfg     catalog
filesystem          hadoop              install.log
install.log.syslog  linearAlgebra.zip   workspace

Hbase > dfs -copyFromLocal /home/udanax/install.log /user/root/udanax
Hbase > dfs -ls udanax;
/user/root/udanax/install.log      <r 1>   101     2007-09-18 09:33

{code}


      was (Author: udanax):
    {code}
Hbase > dfs -ls ../;
Found 1 items
/user/root      <dir>           2007-09-18 09:32

Hbase > ls ../;
Desktop             anaconda-ks.cfg     catalog
filesystem          hadoop              install.log
install.log.syslog  linearAlgebra.zip   workspace

Hbase > dfs -copyFromLocal /home/udanax/install.log /user/root/udanax
Hbase > dfs -ls udanax;
/user/root/udanax/install.log      <r 1>   101     2007-09-18 09:33

{code}

  
> 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, shell_fs_v01.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.


[jira] Issue Comment Edited: (HADOOP-1905) Addition of unix ls command to FS command

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528229 ] 

stack edited comment on HADOOP-1905 at 9/17/07 7:57 PM:
--------------------------------------------------------

I'd suggest leaving it open Edward.  Others might want to comment and add votes.

      was (Author: stack):
    I'd suggest leaving it open Edward.  Perhaps others will want weigh in with comments/votes that they would like this functionality committed.
  
> 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, shell_fs_v01.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.


[jira] Issue Comment Edited: (HADOOP-1905) Addition of unix ls command to FS command

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528200 ] 

udanax edited comment on HADOOP-1905 at 9/17/07 5:53 PM:
--------------------------------------------------------------

{code}
Hbase > dfs -ls ../;
Found 1 items
/user/root      <dir>           2007-09-18 09:32

Hbase > ls ../;
Desktop             anaconda-ks.cfg     catalog
filesystem          hadoop              install.log
install.log.syslog  linearAlgebra.zip   workspace

Hbase > dfs -copyFromLocal /home/udanax/install.log /user/root/udanax
Hbase > dfs -ls udanax;
/user/root/udanax/install.log      <r 1>   101     2007-09-18 09:33

{code}


      was (Author: udanax):
    {code}
Hbase > dfs -ls ../;
Found 1 items
/user/root      <dir>           2007-09-18 09:32


Hbase > ls ../;
Desktop             anaconda-ks.cfg     catalog
filesystem          hadoop              install.log
install.log.syslog  linearAlgebra.zip   workspace
{code}

  
> 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.


[jira] Commented: (HADOOP-1905) Addition of unix ls command to FS command

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528214 ] 

Edward Yoon commented on HADOOP-1905:
-------------------------------------

Like the above example, 
for uses of user-developed jar, <jar, dfs, ls> commands are expected to provide uses without annoying shell exit/run.


> 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.


[jira] Resolved: (HADOOP-1905) Addition of unix ls command to FS command

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward Yoon resolved HADOOP-1905.
---------------------------------

    Resolution: Won't Fix

> 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
>         Attachments: shell_fs.patch, shell_fs_v01.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.


[jira] Commented: (HADOOP-1905) Addition of unix ls command to FS command

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528223 ] 

Edward Yoon commented on HADOOP-1905:
-------------------------------------

Should i close this issue?

> 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, shell_fs_v01.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.


[jira] Issue Comment Edited: (HADOOP-1905) Addition of unix ls command to FS command

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528203 ] 

udanax edited comment on HADOOP-1905 at 9/17/07 5:54 PM:
--------------------------------------------------------------

I think this listing code(files/directories) is OS independent. (see the printFileInfo() method.)
And, i think it would be a useful one as described below.

{code}
Hbase > jar;
JAR jarFile [mainClass] args...;

Hbase > jar hadoop-examples.jar pi 10 10;
java.io.IOException: Error opening job jar: hadoop-examples.jar
        at ...

Hbase > ls ./;
CHANGES.txt  LICENSE.txt  NOTICE.txt   README.txt   bin          build
build.xml    conf         docs         index.html   lib          logs
src

Hbase > ls ./build;
ant                              ant-hadoop-0.15.0-dev.jar
c++                              classes
contrib                          docs
examples                         hadoop-0.15.0-dev
hadoop-0.15.0-dev-abacus.jar     hadoop-0.15.0-dev-core.jar
hadoop-0.15.0-dev-datajoin.jar   hadoop-0.15.0-dev-examples.jar
hadoop-0.15.0-dev-hbase.jar      hadoop-0.15.0-dev-streaming.jar
hadoop-0.15.0-dev-test.jar       src
test                             webapps

Hbase > jar ./build/hadoop-0.15.0-dev-examples.jar pi 10 10;
Number of Maps = 10 Samples per Map = 10
Wrote input for Map #0
Wrote input for Map #1
Wrote input for Map #2
...

Hbase > dfs -ls;
Found 2 items
/user/root/udanax <dir>           2007-09-18 09:43
/user/root/test-mini-mr <dir>           2007-09-18 09:37
{code}

      was (Author: udanax):
    I think this listing code(files/directories) is OS independent. (see the printFileInfo() method.)
And, i think it would be a useful one as described below.

{code}
Hbase > jar;
JAR jarFile [mainClass] args...;

Hbase > jar hadoop-examples.jar pi 10 10;
java.io.IOException: Error opening job jar: hadoop-examples.jar
        at ...

Hbase > ls ./;
CHANGES.txt  LICENSE.txt  NOTICE.txt   README.txt   bin          build
build.xml    conf         docs         index.html   lib          logs
src

Hbase > ls ./build;
ant                              ant-hadoop-0.15.0-dev.jar
c++                              classes
contrib                          docs
examples                         hadoop-0.15.0-dev
hadoop-0.15.0-dev-abacus.jar     hadoop-0.15.0-dev-core.jar
hadoop-0.15.0-dev-datajoin.jar   hadoop-0.15.0-dev-examples.jar
hadoop-0.15.0-dev-hbase.jar      hadoop-0.15.0-dev-streaming.jar
hadoop-0.15.0-dev-test.jar       src
test                             webapps

Hbase > jar ./build/hadoop-0.15.0-dev-examples.jar pi 10 10;
Number of Maps = 10 Samples per Map = 10
Wrote input for Map #0
Wrote input for Map #1
Wrote input for Map #2
...
{code}
  
> 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.


[jira] Updated: (HADOOP-1905) Addition of unix ls command to FS command

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward Yoon updated HADOOP-1905:
--------------------------------

    Status: Patch Available  (was: Open)

> 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.


[jira] Commented: (HADOOP-1905) Addition of unix ls command to FS command

Posted by "Michael Bieniosek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546328 ] 

Michael Bieniosek commented on HADOOP-1905:
-------------------------------------------

I agree with Enis.  

I think ftp lets you do
{code}
> ! ls
{code}

And inside gdb you can do
{code}
> shell ls
{code}


> 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
>         Attachments: shell_fs.patch, shell_fs_v01.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.


[jira] Commented: (HADOOP-1905) Addition of unix ls command to FS command

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (HADOOP-1905) Addition of unix ls command to FS command

Posted by "Enis Soztutar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528284 ] 

Enis Soztutar commented on HADOOP-1905:
---------------------------------------

My totally outsider opinion about such functionality would be to somehow implement a way to execute code for the underlying shell. For example 
{{lls}} executes {{ls}}, {{lpwd}} executes {{pwd}}, {{lps}} excutes {{ps}} etc. The commands would just execute the command in bash and return the results back. 

> 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, shell_fs_v01.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.


[jira] Commented: (HADOOP-1905) Addition of unix ls command to FS command

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528050 ] 

Edward Yoon commented on HADOOP-1905:
-------------------------------------

Please, commit this patch.

> 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.


[jira] Updated: (HADOOP-1905) Addition of unix ls command to FS command

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward Yoon updated HADOOP-1905:
--------------------------------

    Status: Open  (was: Patch Available)

> 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.


[jira] Updated: (HADOOP-1905) Addition of unix ls command to FS command

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward Yoon updated HADOOP-1905:
--------------------------------

    Attachment: shell_fs_v01.patch

> 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, shell_fs_v01.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.


[jira] Commented: (HADOOP-1905) Addition of unix ls command to FS command

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528229 ] 

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

I'd suggest leaving it open Edward.  Perhaps others will want weigh in with comments/votes that they would like this functionality committed.

> 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, shell_fs_v01.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.


[jira] Updated: (HADOOP-1905) Addition of unix ls command to FS command

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward Yoon updated HADOOP-1905:
--------------------------------

    Attachment: shell_fs.patch

Passes all tests locally.

{code}
Hbase > ls -al;
rw-     1470    Sep 12, 2007 1:27 PM    .classpath
rw-     712     Sep 12, 2007 1:19 PM    .project
rwd     0       Sep 17, 2007 4:40 PM    .svn
rwd     0       Sep 10, 2007 10:44 AM   bin
rwd     0       Sep 17, 2007 4:41 PM    build
rw-     38307   Sep 17, 2007 9:04 AM    build.xml
rw-     132701  Sep 17, 2007 9:04 AM    CHANGES.txt
rwd     0       Sep 12, 2007 3:28 PM    conf
rwd     0       Sep 17, 2007 9:04 AM    docs
rw-     155     Aug 29, 2007 5:34 PM    index.html
rwd     0       Aug 29, 2007 5:32 PM    lib
rw-     11358   Aug 29, 2007 5:34 PM    LICENSE.txt
rw-     101     Aug 29, 2007 5:34 PM    NOTICE.txt
rwd     0       Sep 3, 2007 2:33 PM     output
rw-     168     Aug 29, 2007 5:34 PM    README.txt
rwd     0       Aug 29, 2007 5:34 PM    src

Hbase > _
{code}

> 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.


[jira] Commented: (HADOOP-1905) Addition of unix ls command to FS command

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528203 ] 

Edward Yoon commented on HADOOP-1905:
-------------------------------------

I think this listing code(files/directories) is OS independent. (see the printFileInfo() method.)
And, i think it would be a useful one as described below.

{code}
Hbase > jar;
JAR jarFile [mainClass] args...;

Hbase > jar hadoop-examples.jar pi 10 10;
java.io.IOException: Error opening job jar: hadoop-examples.jar
        at ...

Hbase > ls ./;
CHANGES.txt  LICENSE.txt  NOTICE.txt   README.txt   bin          build
build.xml    conf         docs         index.html   lib          logs
src

Hbase > ls ./build;
ant                              ant-hadoop-0.15.0-dev.jar
c++                              classes
contrib                          docs
examples                         hadoop-0.15.0-dev
hadoop-0.15.0-dev-abacus.jar     hadoop-0.15.0-dev-core.jar
hadoop-0.15.0-dev-datajoin.jar   hadoop-0.15.0-dev-examples.jar
hadoop-0.15.0-dev-hbase.jar      hadoop-0.15.0-dev-streaming.jar
hadoop-0.15.0-dev-test.jar       src
test                             webapps

Hbase > jar ./build/hadoop-0.15.0-dev-examples.jar pi 10 10;
Number of Maps = 10 Samples per Map = 10
Wrote input for Map #0
Wrote input for Map #1
Wrote input for Map #2
...
{code}

> 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.


[jira] Commented: (HADOOP-1905) Addition of unix ls command to FS command

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528200 ] 

Edward Yoon commented on HADOOP-1905:
-------------------------------------

{code}
Hbase > dfs -ls ../;
Found 1 items
/user/root      <dir>           2007-09-18 09:32


Hbase > ls ../;
Desktop             anaconda-ks.cfg     catalog
filesystem          hadoop              install.log
install.log.syslog  linearAlgebra.zip   workspace
{code}


> 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.


[jira] Commented: (HADOOP-1905) Addition of unix ls command to FS command

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527993 ] 

Hadoop QA commented on HADOOP-1905:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
http://issues.apache.org/jira/secure/attachment/12365983/shell_fs.patch
against trunk revision r576240.

    @author +1.  The patch does not contain any @author tags.

    javadoc +1.  The javadoc tool did not generate any warning messages.

    javac +1.  The applied patch does not generate any new compiler warnings.

    findbugs +1.  The patch does not introduce any new Findbugs warnings.

    core tests +1.  The patch passed core unit tests.

    contrib tests +1.  The patch passed contrib unit tests.

Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/779/testReport/
Findbugs warnings: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/779/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/779/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/779/console

This message is automatically generated.

> 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.