Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: namenode
    • Labels:
      None

      Description

      This JIRA is for some simple refactors in the NN:

      • refactor the code which writes the seen_txid file in NNStorage into a new "LongContainingFile" utility class. This is useful for the JournalNode to atomically/durably record its last promised epoch
      • refactor the interface from FileJournalManager back to StorageDirectory to use a StorageErrorReport interface. This allows FileJournalManager to be used in isolation of a full StorageDirectory.

        Attachments

        1. hdfs-3190.txt
          21 kB
          Todd Lipcon
        2. hdfs-3190.txt
          21 kB
          Todd Lipcon
        3. hdfs-3190.txt
          17 kB
          Todd Lipcon
        4. hdfs-3190.txt
          10 kB
          Todd Lipcon
        5. hdfs-3190.txt
          10 kB
          Todd Lipcon

          Activity

            People

            • Assignee:
              tlipcon Todd Lipcon
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: