hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5422) In hdfs /*/* globbing does not work
Date Mon, 09 Mar 2009 20:59:51 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-5422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680275#action_12680275
] 

Tsz Wo (Nicholas), SZE commented on HADOOP-5422:
------------------------------------------------

I tested this.  Globbing for /\*/\* works fine in HDFS.  Special characters like * need to
be escaped as mentioned by Lohit.

> In hdfs /*/* globbing does not work
> -----------------------------------
>
>                 Key: HADOOP-5422
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5422
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs
>         Environment: cluster brought up with hod.
>            Reporter: Iyappan Srinivasan
>
> With reference to Jira issue : 3497, we tried globbing /*/*. But it does not work. Output
is given below. 
>  bin/hadoop --config /tmp/cluster/ fs -lsr /
> log4j:WARN No appenders could be found for logger (org.apache.hadoop.conf.Configuration).
> log4j:WARN Please initialize the log4j system properly.
> drwxr-xr-x   - karthv supergroup          0 2009-03-06 08:00 /a
> drwxr-xr-x   - karthv supergroup          0 2009-03-06 08:00 /a/b
> drwxr-xr-x   - karthv supergroup          0 2009-03-06 08:00 /a/b/c
> bin/hadoop --config /tmp/cluster/ fs -lsr /*/*
> Actually it is "bin/hadoop --config /tmp/cluster/ fs -lsr Forward slash followed by star
followed by forward slash followed by star"
> output:
> lsr: Cannot access /bin/arch: No such file or directory.
> lsr: Cannot access /bin/ash: No such file or directory.
> lsr: Cannot access /bin/ash.static: No such file or directory.
> lsr: Cannot access /bin/awk: No such file or directory.
> lsr: Cannot access /bin/basename: No such file or directory.
> lsr: Cannot access /bin/bash: No such file or directory.
> lsr: Cannot access /bin/bsh: No such file or directory.
> lsr: Cannot access /bin/cat: No such file or directory.
> ....
> ....
> ...
> It keeps giving a long list like this without showing the results.

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


Mime
View raw message