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 Bug
    • Status: Patch Available
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.3.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

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

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

        Issue Links

          Activity

          Allen Wittenauer made changes -
          Labels BB2015-05-TBR
          Tsuyoshi Ozawa made changes -
          Status Reopened [ 4 ] Patch Available [ 10002 ]
          Affects Version/s 3.0.0 [ 12320357 ]
          Affects Version/s 2.1.1-beta [ 12324807 ]
          Tsuyoshi Ozawa made changes -
          Attachment HADOOP-9822.3.patch [ 12634912 ]
          Tsuyoshi Ozawa made changes -
          Resolution Invalid [ 6 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Tsuyoshi Ozawa made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Invalid [ 6 ]
          Tsuyoshi Ozawa made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Arun C Murthy made changes -
          Affects Version/s 2.3.0 [ 12325254 ]
          Affects Version/s 2.4.0 [ 12324587 ]
          Tsuyoshi Ozawa made changes -
          Attachment HADOOP-9822.2.patch [ 12596295 ]
          Tsuyoshi Ozawa made changes -
          Summary create constant maxCapacity in RetryCache rather than hard-coding 16 in RetryCache constructor create constant MAX_CAPACITY in RetryCache rather than hard-coding 16 in RetryCache constructor
          Tsuyoshi Ozawa made changes -
          Link This issue is related to HADOOP-9779 [ HADOOP-9779 ]
          Tsuyoshi Ozawa made changes -
          Link This issue is related to HDFS-5025 [ HDFS-5025 ]
          Tsuyoshi Ozawa made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Affects Version/s 3.0.0 [ 12320357 ]
          Affects Version/s 2.3.0 [ 12324587 ]
          Affects Version/s 2.1.1-beta [ 12324807 ]
          Tsuyoshi Ozawa made changes -
          Field Original Value New Value
          Attachment HADOOP-9822.1.patch [ 12595553 ]
          Tsuyoshi Ozawa created issue -

            People

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

              Dates

              • Created:
                Updated:

                Development