Uploaded image for project: 'StreamSets Data Collector'
  1. StreamSets Data Collector
  2. SDC-10703

Errors when clicking on the JDBC under Package manager.

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2 (Critical with Workaround)
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: dist
    • Labels:
      None
    • Testing Status:
      Not Required

      Description

      sdc.log when the link is clicked :

      ONE';status msg is 'The pipeline was stopped. The last committed source offset is 'v3::1545173050::201850527758::1::1.31.99832'.'ONE';status msg is 'The pipeline was stopped. The last committed source offset is 'v3::1545173050::201850527758::1::1.31.99832'.'2018-12-19 11:03:59,906 [user:admin] [pipeline:Apollo Clean Orders - library/ApolloCleanOrderslibrarycc9743b5-4077-4404-b3e7-3e021b8c104e] [runner:] [thread:ProductionPipelineRunnable-ApolloCleanOrderslibrarycc9743b5-4077-4404-b3e7-3e021b8c104e-Apollo Clean Orders - library] [stage:] DEBUG FilePipelineStateStore - Loading state from file for pipeline: 'ApolloCleanOrderslibrarycc9743b5-4077-4404-b3e7-3e021b8c104e'::'0'2018-12-19 11:03:59,922 [user:*admin] [pipeline:Apollo Clean Orders - library/ApolloCleanOrderslibrarycc9743b5-4077-4404-b3e7-3e021b8c104e] [runner:] [thread:runnerStop-pool-10-thread-1] [stage:] INFO  ProductionPipelineRunnable - Pipeline is in terminal state2018-12-19 11:04:11,310 [user:admin] [pipeline:] [runner:] [thread:webserver-20] [stage:] INFO  ClassLoaderStageLibraryTask - Reading from Repository Manifest URL: http://nightly.streamsets.com/datacollector/latest/tarball/repository.manifest.json2018-12-19 11:04:23,625 [user:admin] [pipeline:] [runner:] [thread:webserver-20] [stage:] INFO  ClassLoaderStageLibraryTask - Reading from Repository Manifest URL: http://nightly.streamsets.com/datacollector/latest/tarball/enterprise/repository.manifest.json2018-12-19 11:04:24,291 [user:admin] [pipeline:] [runner:] [thread:webserver-20] [stage:] ERROR ClassLoaderStageLibraryTask - Failed to read stage-lib-manifest.jsoncom.fasterxml.jackson.databind.JsonMappingException: Unrecognized token 'a': was expecting ('true', 'false' or 'null') at [Source: org.glassfish.jersey.message.internal.EntityInputStream@5965c983; line: 16, column: 3] at [Source: org.glassfish.jersey.message.internal.EntityInputStream@5965c983; line: 16, column: 1] (through reference chain: com.streamsets.datacollector.restapi.bean.StageLibraryManifestJson["stages"]) at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:388) at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:348) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.wrapAndThrow(BeanDeserializerBase.java:1600) at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeWithErrorWrapping(BeanDeserializer.java:513) at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:432) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1191) at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:314) at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:148) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3814) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2924) at com.streamsets.datacollector.stagelibrary.ClassLoaderStageLibraryTask.getStageLibraryManifestJson(ClassLoaderStageLibraryTask.java:1001) at com.streamsets.datacollector.stagelibrary.ClassLoaderStageLibraryTask.getRepositoryManifestList(ClassLoaderStageLibraryTask.java:946) at com.streamsets.datacollector.restapi.StageLibraryResource.getLibraries(StageLibraryResource.java:211) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:267) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)

       

       

      It's not possible to upload a external library like ojdbc8.jar.

      Work around is to explicitly copy the file to streamsets-datacollector-3.8.0-SNAPSHOT/streamsets-libs-extras//streamsets-datacollector-jdbc-lib/lib

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Gautam Gautam Saluja
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: