You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Akhil Naik (Jira)" <ji...@apache.org> on 2019/12/17 04:45:00 UTC

[jira] [Assigned] (AMBARI-22043) deleting and uploading files Using the HDFS View

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

Akhil Naik reassigned AMBARI-22043:
-----------------------------------

    Assignee: Akhil Naik

> 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
>            Assignee: Akhil Naik
>            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
(v8.3.4#803005)