Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2041

Add an admin command to run the PurgeXCommand

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 5.0.0b1
    • core
    • None

    Description

      Some users may find it useful to be able to run the PurgeXCommand on-demand. We can add a new admin command to run this. e.g.

      oozie admin -purge
      

      With no args, it can use the "older than" values from oozie-site, but we could have it take some arguments to override those for the command.

      Another thing to worry about is making sure that we don't run this if either it's already running (i.e. the user sent it twice) or if the scheduled PurgeService is already running it. On top of that, we may need extra consideration for HA setups where we currently only run it on the leader.

      We should probably also have a to not schedule the PurgeService in ooize-site for users who only want to run it manually.

      Attachments

        1. OOZIE-2041-10.patch
          32 kB
          Abhishek Bafna
        2. OOZIE-2041-09.patch
          32 kB
          Abhishek Bafna
        3. OOZIE-2041-08.patch
          32 kB
          Abhishek Bafna
        4. OOZIE-2041-07.patch
          29 kB
          Abhishek Bafna
        5. OOZIE-2041-06.patch
          30 kB
          Abhishek Bafna
        6. OOZIE-2041-05.patch
          27 kB
          Abhishek Bafna
        7. OOZIE-2041-04.patch
          27 kB
          Abhishek Bafna
        8. OOZIE-2041-03.patch
          27 kB
          Abhishek Bafna
        9. OOZIE-2041-02.patch
          26 kB
          Abhishek Bafna
        10. OOZIE-2041-01.patch
          25 kB
          Abhishek Bafna
        11. OOZIE-2041-00.patch
          24 kB
          Abhishek Bafna

        Issue Links

          Activity

            People

              abhishekbafna Abhishek Bafna
              rkanter Robert Kanter
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: