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

Calling a service that does not run or exist times out after a very long time

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 6.1.0
    • Component/s: API, CDAP Services
    • Labels:
    • Rank:
      1|hzzz0n:

      Description

      I created the SportResults app, started the service, and then tried to call the service. However, I had a typo in the app name (SportResult without s):

      cdap (http://anew.local:11015/namespace:this)> call service SportResult.UploadService PUT /leagues/nfl/seasons/2012 body:file resources/nfl-2012.csv
      Error: 503: No endpoint strategy found for request : /v3/namespaces/this/apps/SportResult/services/UploadService/methods/leagues/nfl/seasons/2012
      

      This should return immediately with a 'NotFound" exception. Why is this a 503?

        Attachments

          Activity

            People

            • Assignee:
              miguelvelez Miguel Velez
              Reporter:
              andreas Andreas Neumann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: