Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4594

Add init/shutdown methods to mapreduce Partitioner

    Details

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

      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.

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

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:

              Development