Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: QuorumJournalManager (HDFS-3077)
    • Component/s: namenode
    • Labels:
      None

      Description

      This API is currently marked TODO. We need it to maintain bounded disk space usage on the JournalNode storage.

      1. hdfs-3692.txt
        19 kB
        Todd Lipcon

        Activity

        Hide
        Todd Lipcon added a comment -

        Committed to branch, thanks for the review.

        Show
        Todd Lipcon added a comment - Committed to branch, thanks for the review.
        Hide
        Aaron T. Myers added a comment -

        +1, the patch looks good to me.

        Show
        Aaron T. Myers added a comment - +1, the patch looks good to me.
        Hide
        Todd Lipcon added a comment -

        Attached patch implements purgeEditLogs() by RPCing to the JNs. It's asynchronous (i.e we don't wait for a quorum), but that's OK because this is just a cleanup method. If it fails, we'll purge those entries next time.

        Show
        Todd Lipcon added a comment - Attached patch implements purgeEditLogs() by RPCing to the JNs. It's asynchronous (i.e we don't wait for a quorum), but that's OK because this is just a cleanup method. If it fails, we'll purge those entries next time.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development