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

Provide a way to automatically handle backward compatibility of deprecated keys

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: conf
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      There are cases when we have had to deprecate configuration keys. Use cases include, changing the names of variables to better match intent, splitting a single parameter into two - for maps, reduces etc.

      In such cases, we typically provide a backwards compatible option for the old keys. The handling of such cases might typically be common enough to actually add support for it in a generic fashion in the Configuration class. Some initial discussion around this started in HADOOP-5919, but since the project split happened in between we decided to open this issue to fix it in common.

        Attachments

        1. HADOOP-6105.patch
          17 kB
          V.V.Chaitanya Krishna
        2. HADOOP-6105-1.patch
          15 kB
          V.V.Chaitanya Krishna
        3. HADOOP-6105.patch
          20 kB
          V.V.Chaitanya Krishna
        4. HADOOP-6105-2.patch
          21 kB
          V.V.Chaitanya Krishna
        5. HADOOP-6105-3.patch
          21 kB
          V.V.Chaitanya Krishna
        6. HADOOP-6105-4.patch
          21 kB
          V.V.Chaitanya Krishna
        7. HADOOP-6105-5.patch
          21 kB
          V.V.Chaitanya Krishna
        8. HADOOP-6105-6.patch
          21 kB
          V.V.Chaitanya Krishna
        9. HADOOP-6105-7.patch
          23 kB
          V.V.Chaitanya Krishna
        10. HADOOP-6105-8.patch
          23 kB
          V.V.Chaitanya Krishna
        11. HADOOP-6105-9.patch
          26 kB
          V.V.Chaitanya Krishna
        12. HADOOP-6105-10.patch
          26 kB
          V.V.Chaitanya Krishna

          Issue Links

            Activity

              People

              • Assignee:
                chaitk V.V.Chaitanya Krishna
                Reporter:
                yhemanth Hemanth Yamijala
              • Votes:
                0 Vote for this issue
                Watchers:
                18 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: