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

Rushabh S Shah commented on HADOOP-15319:
-----------------------------------------

We have seen several cases where our customer don't quote the path and uses 
glob in the path.
We always ask our customer to put quote around the path.
Can you please see what happens if you run the following command.
{noformat}
hadoop fs -rm "/a/b/c/*"
{noformat}
Please note that the above line is in noformat tag. 

> hadoop fs -rm command misbehaves on recent hadoop version 2.5.0
> ---------------------------------------------------------------
>
>                 Key: HADOOP-15319
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15319
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: bin
>    Affects Versions: 2.8.2
>            Reporter: Saurabh Padhy
>            Priority: Major
>
> This issue is regarding hadoop fs -rm command. 
> In hadoop version 2.4.0 when we execute "hadoop fs -rm /a/b/c/*",
> It removes the files inside the c directory only.
> But in case of versions higher to 2.8.2,
> When we execute "hadoop fs -rm /a/b/c/**" or "hdfs dfs -rm /a/b/c/**"
> It removes the inside files and directory as well.
> Please look into the issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to