Uploaded image for project: 'Spring XD'
  1. Spring XD
  2. XD-2243

Stream Definition Calls Times-out often

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 1.0.1
    • Fix Version/s: None
    • Component/s: Runtime
    • Story Points:
      1
    • Rank (Obsolete):
      134

      Description

      We are using the SpringXD REST endpoints for creating and managing streams. With Version 1.0.0 and 1.0.1, the Stream Definition API Call Times-out at times. Here is the log from the admin node. Look at the 30000 ms in the logs. I have also left a few other lines around for context.

      API Call: http://<hostname>:9393/jobs/definitions

      We need to come up with a fix for this.

      14 Oct 2014 17:40:28,062 INFO DeploymentSupervisorCacheListener-0 server.InitialDeploymentListener - Path cache event: /deployments/streams/sample, type: CHILD_ADDED
      14 Oct 2014 17:40:28,198 INFO Deployer server.StreamDeploymentListener - Deploying stream Stream

      {name='sample'}
      14 Oct 2014 17:40:38,847 INFO Deployer server.JobDeploymentListener - Deployment status for job 'filetsjob-sample002': DeploymentStatus{state=failed,error(s)=Deployment of module 'ModuleDeploymentKey{stream='filetsjob-sample002', type=job, label='filepollsomething'}' to container 'c77bc83e-bcba-4e4d-9753-e71f603566b1' timed out after 30000 ms}
      14 Oct 2014 17:41:28,225 INFO Deployer server.StreamDeploymentListener - Deployment status for stream 'sample': DeploymentStatus{state=failed,error(s)=Deployment of module 'ModuleDeploymentKey{stream='sample', type=sink, label='something'}' to container 'f877a8e8-08b3-44f9-8f73-bf163acb0cef' timed out after 30000 ms; Deployment of module 'ModuleDeploymentKey{stream='sample', type=source, label='http'}' to container 'c77bc83e-bcba-4e4d-9753-e71f603566b1' timed out after 30000 ms}
      14 Oct 2014 17:41:28,227 INFO Deployer server.StreamDeploymentListener - Stream Stream{name='sample'}

      deployment attempt complete

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            venkyz Venkatesh Sivasubramanian
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: