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:
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.