[ 
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)

Reply via email to