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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to