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