[
https://issues.apache.org/jira/browse/AMBARI-21644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wei-Chiu Chuang updated AMBARI-21644:
-------------------------------------
Fix Version/s: 3.1.0
(was: 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
> Priority: Major
> Fix For: 3.1.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
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]