[jira] [Updated] (AMBARI-21644) Cannot delete file using ambari files view when proxied through Knox

2017-12-08 Thread Swapan Shridhar (JIRA)

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

Swapan Shridhar updated AMBARI-21644:
-
Fix Version/s: (was: 2.6.1)
   3.0.0

> Cannot delete file using ambari files view when proxied through Knox
> 
>
> Key: AMBARI-21644
> URL: https://issues.apache.org/jira/browse/AMBARI-21644
> Project: Ambari
>  Issue Type: Bug
>  Components: contrib
>Affects Versions: 2.5.1
>Reporter: Tan Pham
> Fix For: 3.0.0
>
>
> The problem is with the deleting file in Ambari Files view when proxied 
> through Knox.
> Ambari Files view using: method: *DELETE*, path: 
> *resources/files/fileops/moveToTrash*, body payload: {path: "path_to_delete", 
> recursive: true}
> Knox using Apache HttpClient. HttpClient implementation does not support 
> request body and the the request body is dropped (see 
> org.apache.http.client.methods.HttpDelete).
> To fix this issue, change from DELETE method to POST or PUT method in Ambari 
> Files view.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (AMBARI-21644) Cannot delete file using ambari files view when proxied through Knox

2017-10-22 Thread Swapan Shridhar (JIRA)

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

Swapan Shridhar updated AMBARI-21644:
-
Fix Version/s: (was: 2.6.0)
   2.6.1

> Cannot delete file using ambari files view when proxied through Knox
> 
>
> Key: AMBARI-21644
> URL: https://issues.apache.org/jira/browse/AMBARI-21644
> Project: Ambari
>  Issue Type: Bug
>  Components: contrib
>Affects Versions: 2.5.1
>Reporter: Tan Pham
> Fix For: 2.6.1
>
>
> The problem is with the deleting file in Ambari Files view when proxied 
> through Knox.
> Ambari Files view using: method: *DELETE*, path: 
> *resources/files/fileops/moveToTrash*, body payload: {path: "path_to_delete", 
> recursive: true}
> Knox using Apache HttpClient. HttpClient implementation does not support 
> request body and the the request body is dropped (see 
> org.apache.http.client.methods.HttpDelete).
> To fix this issue, change from DELETE method to POST or PUT method in Ambari 
> Files view.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (AMBARI-21644) Cannot delete file using ambari files view when proxied through Knox

2017-08-03 Thread Tan Pham (JIRA)

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

Tan Pham updated AMBARI-21644:
--
Description: 
The problem is with the deleting file in Ambari Files view when proxied through 
Knox.
Ambari Files view using: method: *DELETE*, path: 
*resources/files/fileops/moveToTrash*, body payload: {path: "path_to_delete", 
recursive: true}
Knox using Apache HttpClient. HttpClient implementation does not support 
request body and the the request body is dropped (see 
org.apache.http.client.methods.HttpDelete).
To fix this issue, change from DELETE method to POST or PUT method in Ambari 
Files view.




  was:
The problem is with the deleting file in Ambari Files view when proxied through 
Knox.
Ambari Files view using: method: *DELETE*, path: 
*resources/files/fileops/moveToTrash*, body payload: *{path: "path_to_delete", 
recursive: true}*
Knox using Apache HttpClient. HttpClient implementation does not support 
request body and the the request body is dropped (see 
org.apache.http.client.methods.HttpDelete).
To fix this issue, change from DELETE method to POST or PUT method in Ambari 
Files view.





> Cannot delete file using ambari files view when proxied through Knox
> 
>
> Key: AMBARI-21644
> URL: https://issues.apache.org/jira/browse/AMBARI-21644
> Project: Ambari
>  Issue Type: Bug
>  Components: contrib
>Affects Versions: 2.5.1
>Reporter: Tan Pham
> Fix For: 2.6.0
>
>
> The problem is with the deleting file in Ambari Files view when proxied 
> through Knox.
> Ambari Files view using: method: *DELETE*, path: 
> *resources/files/fileops/moveToTrash*, body payload: {path: "path_to_delete", 
> recursive: true}
> Knox using Apache HttpClient. HttpClient implementation does not support 
> request body and the the request body is dropped (see 
> org.apache.http.client.methods.HttpDelete).
> To fix this issue, change from DELETE method to POST or PUT method in Ambari 
> Files view.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)