Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
mshafeeq
Contributor III
Contributor III

Exception in component tHadoopConfManager_tHDFSConnection_1

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]

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

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.

0695b00000bDwUIAA0.pngBest regards

Sabrina

View solution in original post

4 Replies
jlolling
Creator III
Creator III

Which java version is used here?

Anonymous
Not applicable

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:

https://community.talend.com/s/article/Talend-Big-Data-compatibility-with-Zulu-OpenJDK-98ERC?languag...

And the solution proposed is to use JDK version 8.

Best regards

Sabrina

mshafeeq
Contributor III
Contributor III
Author

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')

 

Anonymous
Not applicable

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.

0695b00000bDwUIAA0.pngBest regards

Sabrina