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

Hanisha Koneru updated HDFS-12358:
----------------------------------
    Description: 
During JN sync, a missing edit log is first downloaded from a remote JN to a 
tmp dir and then moved to the current directory (protected by the Journal's 
synchronization). 
Irrespective of whether the move succeeds or fails, we should delete the tmp 
file.


  was:During JN sync, a missing edit log is first downloaded from a remote JN 
to a tmp dir and then moved to the current directory (protected by the 
Journal's synchronization). If this move fails, we need to catch it and delete 
the downloaded edit log from the tmp dir.


> Catch IOException when transferring edit log to Journal current dir through 
> JN sync
> -----------------------------------------------------------------------------------
>
>                 Key: HDFS-12358
>                 URL: https://issues.apache.org/jira/browse/HDFS-12358
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Hanisha Koneru
>            Assignee: Hanisha Koneru
>
> During JN sync, a missing edit log is first downloaded from a remote JN to a 
> tmp dir and then moved to the current directory (protected by the Journal's 
> synchronization). 
> Irrespective of whether the move succeeds or fails, we should delete the tmp 
> file.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to