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

Íñigo Goiri updated HDFS-14043:
-------------------------------
    Status: Patch Available  (was: Open)

> Tolerate corrupted seen_txid file
> ---------------------------------
>
>                 Key: HDFS-14043
>                 URL: https://issues.apache.org/jira/browse/HDFS-14043
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs, namenode
>    Affects Versions: 2.9.2, 3.1.2, 2.9.3
>            Reporter: Lukas Majercak
>            Assignee: Lukas Majercak
>            Priority: Major
>         Attachments: HDFS-14043.001.patch
>
>
> We already tolerate IOExceptions when reading seen_txid file from namenode's 
> dirs. So we take the maximum txid of all the *readable* namenode dirs. We 
> should extend this to when the file is corrupted. Currently, 
> PersistentLongFile.readFile throws NumberFormatException in this case and the 
> whole NN crashes.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to