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

Changing the number of service instances fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.4.0, 3.3.2
    • Fix Version/s: 3.4.0
    • Component/s: App Fabric, CDAP Services
    • Labels:
      None
    • Release Notes:
      Fixes an issue when changing the number of instances of a worker or service.
    • Rank:
      1|hzz9y7:

      Description

      Running FileSetExample.FileSetService, when trying to change the number of instances of the service, nothing happens. Only an exception in the logs:

      2016-03-29 15:11:21,048 - ERROR [pcontroller-program:default.FileSetExample.service.FileSetService-a1bb8e92-f2a4-11e5-8395-42010af0003f:
      c.c.c.i.a.r.d.ServiceTwillProgramController@61] - Failed to change instances: {FileSetService=2}
      java.lang.NumberFormatException: null
              at java.lang.Integer.parseInt(Integer.java:454) ~[na:1.7.0_75]
              at java.lang.Integer.valueOf(Integer.java:582) ~[na:1.7.0_75]
              at co.cask.cdap.internal.app.runtime.distributed.ServiceTwillProgramController.doCommand(ServiceTwillProgramController.java:57) 
      ~[co.cask.cdap.cdap-app-fabric-3.4.0-SNAPSHOT.jar:na]
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: