You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Nilotpal Nandi (JIRA)" <ji...@apache.org> on 2018/10/31 10:33:00 UTC

[jira] [Created] (HDDS-769) temporary file ._COPYING_ is not deleted after put command failure

Nilotpal Nandi created HDDS-769:
-----------------------------------

             Summary: temporary file ._COPYING_ is not deleted after put command failure
                 Key: HDDS-769
                 URL: https://issues.apache.org/jira/browse/HDDS-769
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
          Components: Ozone Manager
    Affects Versions: 0.3.0
            Reporter: Nilotpal Nandi


steps taken :

-----------------
 # stopped all datanodes.
 # Ran ozonefs put command. Command execution failed.

{noformat}
[root@ctr-e138-1518143905142-544443-01-000008 ~]# ozone fs -put /etc/passwd /testdir5/
2018-10-31 08:42:12,711 [main] ERROR - Try to allocate more blocks for write failed, already allocated 0 blocks for this write.
put: Allocate block failed, error:INTERNAL_ERROR{noformat}
But , the temporary file was not deleted from OM.
{noformat}
[root@ctr-e138-1518143905142-544443-01-000003 logs]# ozone fs -ls /testdir5/passwd._COPYING_
-rw-rw-rw- 1 root root 0 2018-10-31 08:42 /testdir5/passwd._COPYING_{noformat}
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org