hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Iyappan Srinivasan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5422) In hdfs /*/* globbing does not work
Date Wed, 11 Mar 2009 04:54:50 GMT

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

Iyappan Srinivasan commented on HADOOP-5422:
--------------------------------------------

Hi Nigel,All,

It works when escape charecters are given in front of star or the whole expression under double
quotes.

bin/hadoop --config /tmp/cluster/ fs -ls /\*/\*
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-09 04:28 /a/b/c
drwxr-xr-x   - karthv supergroup          0 2009-03-09 04:23 /proc/karthv/karthv

The documentatation does not mention this anywhere in hadoop FS shell guide(FS_Shell.html).
It will be nice if it is mentioned somewhere, say in examples.
I will change this to a  documentation jira.

> 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: documentation
>         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