Uploaded image for project: 'Apache Apex Malhar'
  1. Apache Apex Malhar
  2. APEXMALHAR-2088

Exception while fetching properties for Operators using JdbcStore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.4.0
    • None
    • None

    Description

      Encountered following exception with application using JdbcPojoInputOperator.

      apex (application_1463026703355_0006) > get-operator-properties JdbcInput
      com.datatorrent.stram.cli.ApexCli$CliException: Failed web service request for appid application_1463026703355_0006
      at com.datatorrent.stram.cli.ApexCli$GetOperatorPropertiesCommand.execute(ApexCli.java:2635)
      at com.datatorrent.stram.cli.ApexCli$3.run(ApexCli.java:1462)
      Caused by: com.datatorrent.stram.cli.ApexCli$CliException: Failed to request web service for appid application_1463026703355_0006
      at com.datatorrent.stram.cli.ApexCli.getResource(ApexCli.java:1675)
      at com.datatorrent.stram.cli.ApexCli.getResource(ApexCli.java:1652)
      at com.datatorrent.stram.cli.ApexCli.access$9400(ApexCli.java:151)
      at com.datatorrent.stram.cli.ApexCli$GetOperatorPropertiesCommand.execute(ApexCli.java:2632)
      ... 1 more
      Caused by: com.sun.jersey.api.client.UniformInterfaceException: GET http://shubham:40945/ws/v2/stram/logicalPlan/operators/JdbcInput/properties returned a response status of 404 Not Found
      at com.sun.jersey.api.client.WebResource.handle(WebResource.java:676)
      at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
      at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:503)
      at com.datatorrent.stram.util.WebServicesClient$GetWebServicesHandler.process(WebServicesClient.java:222)
      at com.datatorrent.stram.util.WebServicesClient$2.run(WebServicesClient.java:169)
      at com.datatorrent.stram.util.SecureExecutor.execute(SecureExecutor.java:46)
      at com.datatorrent.stram.util.WebServicesClient.process(WebServicesClient.java:164)
      at com.datatorrent.stram.client.StramAgent.issueStramWebRequest(StramAgent.java:278)
      at com.datatorrent.stram.client.StramAgent.issueStramWebRequest(StramAgent.java:298)
      at com.datatorrent.stram.cli.ApexCli.getResource(ApexCli.java:1669)
      ... 4 more

      {
      RemoteException: {
      exception: "JsonMappingException",
      message: "(was java.lang.NullPointerException) (through reference chain: java.util.HashMap["store"]->com.datatorrent.lib.db.jdbc.JdbcStore["connected"])",
      javaClassName: "org.codehaus.jackson.map.JsonMappingException"
      }
      }

      Attachments

        Activity

          People

            shubhamp shubham pathak
            shubhamp shubham pathak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: