Vijay Kumar created AMBARI-22043:
------------------------------------
Summary: deleting and uploading files Using the HDFS View
Key: AMBARI-22043
URL: https://issues.apache.org/jira/browse/AMBARI-22043
Project: Ambari
Issue Type: Bug
Components: ambari-views
Environment: AMBARI:- 2.5.0.3
HDP 2.6
ENTOS 7
Reporter: Vijay Kumar
Priority: Minor
When using HDFS File View when I do a file delete, followed by another upload
and delete of the same file, I'm getting the error shown below. (Failed to move
the file to .Trash).
One workaround is when you get the Delete pop-up, you can check the "delete
permanently" box.
This only occurs if the file is already present in .Trash
Works fine when using the command line.
admin@vnagarajan-gvklab1 ~$ hadoop fs -touchz /user/admin/testdelete
admin@vnagarajan-gvklab1 ~$ hadoop fs -rm /user/admin/testdelete
17/09/20 22:46:38 INFO fs.TrashPolicyDefault: Moved:
'hdfs://gvklab1.openstacklocal:8020/user/admin/testdelete' to trash at:
hdfs://gvklab1.openstacklocal:8020/user/admin/.Trash/Current/user/admin/testdelete
admin@vnagarajan-gvklab1 ~$ hadoop fs -touchz /user/admin/testdelete
admin@vnagarajan-gvklab1 ~$ hadoop fs -rm /user/admin/testdelete
17/09/20 22:46:49 INFO fs.TrashPolicyDefault: Moved:
'hdfs://gvklab1.openstacklocal:8020/user/admin/testdelete' to trash at:
hdfs://gvklab1.openstacklocal:8020/user/admin/.Trash/Current/user/admin/testdelete1505947609951
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)