Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-2254

Error message returned by HTTP RESTful Handler incorrect

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.0
    • Component/s: Workflow
    • Labels:
      None
    • Rank:
      1|hzyruv:

      Description

      If you try to suspend or resume an already-suspended or resumed Workflow, you get an error message such as this:

      $ curl -w'\n' -X POST 'http://localhost:10000/v3/namespaces/default/apps/PurchaseHistory/workflows/PurchaseHistoryWorkflow/runs/7e8f21c5-e981-11e4-8c96-8cae4cfd0e64/resume'
      Unable to retrieve runtime information for %s (Application: %s)
      

      A number of issues:

      • It can't get the info it needs (the Workflow State), and that leads to the second one:
      • It should not use that error message if Application %s is null

        Attachments

          Activity

            People

            • Assignee:
              yaojie Yaojie Feng
              Reporter:
              John John Jackson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: