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

Improve error message when a user tries to start a coordinator job

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2.0
    • 3.3.0
    • coordinator
    • None

    Description

      The coordinator job does not support a start action. When a user tries to start a coordinator job, the error message is not informative.

      PUT http://localhost:11000/oozie/v1/job/0000002-120711104734467-oozie-oozi-C?action=start&user.name=AAA&doAs=BBB] error[E0303], E0303: Invalid parameter value, [

      {0}

      ] = [

      {1}

      ]

      The appropriate message should be

      PUT http://localhost:11000/oozie/v1/job/0000043-120711104734467-oozie-oozi-C?action=submit&user.name=AAA&doAs=BBB] error[E0303], E0303: Invalid parameter value, [action] = [start]
      org.apache.oozie.servlet.XServletException: E0303: Invalid parameter value, [action] = [start]

      Attachments

        1. OOZIE-923.patch
          4 kB
          Santhosh Muthur Srinivasan
        2. OOZIE-923-1.patch
          4 kB
          Santhosh Muthur Srinivasan
        3. OOZIE-923-2.patch
          5 kB
          Virag Kothari

        Issue Links

          Activity

            People

              sms Santhosh Muthur Srinivasan
              sms Santhosh Muthur Srinivasan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: