[jira] [Commented] (HADOOP-15319) hadoop fs -rm command misbehaves on recent hadoop version 2.5.0

2018-03-16 Thread Saurabh Padhy (JIRA)

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

Saurabh Padhy commented on HADOOP-15319:


[~shahrs87]

We execute the command 

 
{noformat}
hadoop fs -rm "/a/b/c/*"
{noformat}
Still facing the similar issues in the 2.8.2 version. But in case of "/a/b/c/" 
It is unable to remove the files. That's the reason we use "/*" which removes 
everything inside the directory.

 

> 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



[jira] [Commented] (HADOOP-15319) hadoop fs -rm command misbehaves on recent hadoop version 2.5.0

2018-03-16 Thread Saurabh Padhy (JIRA)

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

Saurabh Padhy commented on HADOOP-15319:


[~shahrs87]

Sorry, My bad - It is related to 2.8.2 version.

When we are using {color:#14892c}*"hadoop fs -rm /a/b/c/" or "hdfs dfs -rm 
/a/b/c/*{color}{color:#14892c}*"*{color} it gives error - ''{color:#d04437}c is 
a directory{color}"

But when we tried to execute

*"hadoop fs -rm /a/b/c/*" or "hdfs dfs -rm /a/b/c/*"* the 'c' directory also 
gets deleted

Whereas in 2.4.x version it was not deleting 'c' instead of it was only 
deleting the files inside c.

> 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



[jira] [Updated] (HADOOP-15319) hadoop fs -rm command misbehaves on recent hadoop version 2.5.0

2018-03-16 Thread Saurabh Padhy (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-15319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Saurabh Padhy updated HADOOP-15319:
---
Description: 
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.

  was:
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.5.0,

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.


> 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



[jira] [Updated] (HADOOP-15319) hadoop fs -rm command misbehaves on recent hadoop version 2.5.0

2018-03-16 Thread Saurabh Padhy (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-15319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Saurabh Padhy updated HADOOP-15319:
---
Affects Version/s: (was: 2.5.0)
   2.8.2

> 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.5.0,
> 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



[jira] [Updated] (HADOOP-15319) hadoop fs -rm command misbehaves on recent hadoop version 2.5.0

2018-03-16 Thread Saurabh Padhy (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-15319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Saurabh Padhy updated HADOOP-15319:
---
Description: 
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.5.0,

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.

  was:
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.5.0,

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.


> 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.5.0
>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.5.0,
> 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



[jira] [Created] (HADOOP-15319) hadoop fs -rm command misbehaves on recent hadoop version 2.5.0

2018-03-16 Thread Saurabh Padhy (JIRA)
Saurabh Padhy created HADOOP-15319:
--

 Summary: 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.5.0
Reporter: Saurabh Padhy


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.5.0,

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