Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4594

Add init/shutdown methods to mapreduce Partitioner

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: client
    • Labels:

      Description

      The Partitioner supports only the Configurable API, which can be used for basic init in setConf(). Problem is that there is no shutdown function.

      I propose to use standard setup() cleanup() functions like in mapper / reducer.

      Use case is that I need to start and stop spring context and datagrid client.

        Attachments

        1. partitioner9.txt
          13 kB
          Radim Kolar
        2. partitioner8.txt
          13 kB
          Radim Kolar
        3. partitioner7.txt
          12 kB
          Radim Kolar
        4. partitioner6.txt
          12 kB
          Radim Kolar
        5. partitioner6.txt
          12 kB
          Radim Kolar
        6. partitioner5.txt
          12 kB
          Radim Kolar
        7. partitioner4.txt
          13 kB
          Radim Kolar
        8. partitioner3.txt
          13 kB
          Radim Kolar
        9. partitioner2.txt
          4 kB
          Radim Kolar
        10. partitioner2.txt
          12 kB
          Radim Kolar
        11. partitioner1.txt
          2 kB
          Radim Kolar

          Activity

            People

            • Assignee:
              hsn Radim Kolar
              Reporter:
              hsn Radim Kolar
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: