Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am using Talend Open Studio for Big Data v7.4. I was trying to migrate data from MySQL to Couchbase, I have configured job, filled components setting and downloaded required jars. The only problem I encountered is exception being thrown after clicking RUN button:
Exception in thread "main" java.lang.NoClassDefFoundError: routines/system/Dynamic
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethod(Class.java:2128)
at org.talend.sdk.component.runtime.record.RecordConverters$MappingMeta.newRecord(RecordConverters.java:550)
at org.talend.sdk.component.runtime.di.InputsHandler.lambda$asInputFactory$2(InputsHandler.java:51)
at org.talend.sdk.component.runtime.output.ProcessorImpl.lambda$buildProcessParamBuilder$5(ProcessorImpl.java:167)
at org.talend.sdk.component.runtime.output.ProcessorImpl.lambda$onNext$10(ProcessorImpl.java:264)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:546)
at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:505)
at org.talend.sdk.component.runtime.output.ProcessorImpl.onNext(ProcessorImpl.java:265)
at org.talend.sdk.component.runtime.manager.chain.AutoChunkProcessor.onElement(AutoChunkProcessor.java:39)
at local_project.cbtomysql_0_1.CbToMySql.tDBInput_1Process(CbToMySql.java:668)
at local_project.cbtomysql_0_1.CbToMySql.runJobInTOS(CbToMySql.java:1061)
at local_project.cbtomysql_0_1.CbToMySql.main(CbToMySql.java:908)
Caused by: java.lang.ClassNotFoundException: routines.system.Dynamic
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 19 more
and indeed there are Routines missing under tree Code->Routines->System, there is no Dynamic routines.
Is there any solution for this problem? Can I download somehow missing files? Why those files are missing?
Hello,
tCouchbaseOutput component in this framework is available in all Talend products with Big Data and in Talend Data Fabric.
You can get it from talend open studio for bigdata V 7.3.1
Best regards
Sabrina
Hello,
Before you export the job script, right click on the job name, and select 'set up dependencies routine' option, and see if the user routine is imported.
Best regards
Sabrina
I dont have anything in user routines, I want to migrate MySQL to Couchbase, I am not using any custom routines. Where can I download those Dynamic routines that Talend search for?
Additionally why should I export my job? Cant it be just run in Talend Studio?
Best regards
Kacper
HI, maybe dynamic not working in open studio , it 's specific to the entreprise licence version
Send me Love and Kudos
So what am I supposed to do? I have Talend Studio v7.4.1 and those Dynamic dependencies are blocking my migration, additionally Talend can not download those files
hi could you send screen of the error in the code view ? And maybe look into your metadata if there is a dynamic type ?
Send me Love and Kudos
Hello,
Does this issue repro on a released version V 7.3.1? Is there any specific requirement for you to use milestone version Talend Open Studio for Big Data v7.4?
Best regards
Sabrina
On v7.3.1 I could not find block representing Couchbase
I have attached job view and job run output