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

States in MDS for any* program not updated correctly.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: None
    • Labels:
      None
    • Rank:
      1|hzyr87:

      Description

      1. Checking the STATUS of a program says that it's stopped.
      nmotgi@Joltie-Air ~/Demo/2.8.0 $ curl "http://dev-reactor1.sjc1.continuuity.net:10000/v3/namespaces/default/apps/CountRandom/flows/CountRandom/status"; echo

      {"status":"STOPPED"}

      2. Checking the RUNS says something different.
      nmotgi@Joltie-Air ~/Demo/2.8.0 $ curl "http://dev-reactor1.sjc1.continuuity.net:10000/v3/namespaces/default/apps/CountRandom/flows/CountRandom/runs?status=running"; echo
      [

      {"runid":"923c8375-6150-4236-be10-d6ba7fa24bc4","start":1429157733,"status":"RUNNING"}

      ]
      nmotgi@Joltie-Air ~/Demo/2.8.0 $ curl "http://dev-reactor1.sjc1.continuuity.net:10000/v3/namespaces/default/apps/CountRandom/flows/CountRandom/runs"
      [

      {"runid":"923c8375-6150-4236-be10-d6ba7fa24bc4","start":1429157733,"status":"RUNNING"}

      ]nmotgi@Joltie-Air ~/Demo/2.8.0 $

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ali.anwar Ali Anwar
                Reporter:
                nitin Nitin Motgi
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: