Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
how can i fix this exception , job is working normally
Starting job fix at 09:06 20/12/2022.
[statistics] connecting to socket on port 3704
Exception in component tHadoopConfManager_tHDFSConnection_1 (fix)
java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
at uat.fix_0_1.fix.tHadoopConfManager_tHDFSConnection_1Process(fix.java:2996)
at uat.fix_0_1.fix.tPrejob_1Process(fix.java:2099)
at uat.fix_0_1.fix.runJobInTOS(fix.java:3436)
at uat.fix_0_1.fix.main(fix.java:3146)
[statistics] connected
[statistics] disconnected
Job fix ended at 09:06 20/12/2022. [Exit code = 1]
Hello,
To run your Spark Jobs and Standard Jobs or Metadata Repository that involve big data distributions, you need to install Java 8 on your computer, and in Talend Studio customize the path in Preferences > Talend > Java interpreter and then browse the location of JDK 8 in Preferences > Java > Installed JREs.
Don't forget to restart your studio to apply it.
Best regards
Sabrina
Which java version is used here?
Hello,
We see that in the label that you are using Talend 8, However even with Talend 8 for Talend Server Modules Big Data Distribution the recommended Java version is version 8 as stated on this page:
https://help.talend.com/r/en-US/8.0/installation-guide-linux/compatible-java-environments
The error you reported is also covered in a KB article:
And the solution proposed is to use JDK version 8.
Best regards
Sabrina
i changed from windows preferences to jdk 1.8 and facing same error
java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
Hello,
To run your Spark Jobs and Standard Jobs or Metadata Repository that involve big data distributions, you need to install Java 8 on your computer, and in Talend Studio customize the path in Preferences > Talend > Java interpreter and then browse the location of JDK 8 in Preferences > Java > Installed JREs.
Don't forget to restart your studio to apply it.
Best regards
Sabrina