Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14043

Tolerate corrupted seen_txid file

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      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.

      Attachments

        1. HDFS-14043.001.patch
          4 kB
          Lukas Majercak
        2. HDFS-14043.002.patch
          4 kB
          Lukas Majercak
        3. HDFS-14043.003.patch
          4 kB
          Lukas Majercak

        Activity

          People

            lukmajercak Lukas Majercak
            lukmajercak Lukas Majercak
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: