Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9822

create constant MAX_CAPACITY in RetryCache rather than hard-coding 16 in RetryCache constructor

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      The magic number "16" is also used in ClientId.BYTE_LENGTH, so hard-coding magic number "16" is a bit confusing.

        Attachments

        1. HADOOP-9822.4.patch
          1 kB
          Tsuyoshi Ozawa
        2. HADOOP-9822.3.patch
          1 kB
          Tsuyoshi Ozawa
        3. HADOOP-9822.2.patch
          1 kB
          Tsuyoshi Ozawa
        4. HADOOP-9822.1.patch
          1 kB
          Tsuyoshi Ozawa

          Issue Links

            Activity

              People

              • Assignee:
                ozawa Tsuyoshi Ozawa
                Reporter:
                ozawa Tsuyoshi Ozawa
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: