hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aman Goyal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12108) Erroneous behavior of use of wildcard character ( * ) in ls command of hdfs
Date Mon, 22 Jun 2015 18:50:01 GMT

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

Aman Goyal commented on HADOOP-12108:
-------------------------------------

that worked. escaping * with \ worked. it now shows only hdfs results.
Thanks !

> Erroneous behavior of use of wildcard character ( * ) in ls command of hdfs 
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-12108
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12108
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Aman Goyal
>            Priority: Critical
>
> If you have following directories in your LOCAL file system 
> /data/hadoop/sample/00/contents1.txt
> /data/hadoop/sample/01/contents2.txt
> and following directories in hdfs : 
> /data/hadoop/sample/00/contents1.txt
> /data/hadoop/sample/01/contents2.txt
> /data/hadoop/sample/02/contents3.txt
> suppose you run the following hdfs ls command:
> hdfs dfs -ls -R /data/hadoop/sample/*
> the paths that are printed have a reference to local paths, and only 00 & 01 directories
get listed. 
> this happens only when wildcard ( * ) character is used in input paths.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message