Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Trying to run a Job in "Talend Open Studio for Big Data v7.3.1" and getting the following error:
"java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code -101 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask. Could not initialize class javax.crypto.JceSecurity"
O/S= Windows Server 2012 R2 x64
Java Versions: jdk1.8.0_321 and jre1.8.0_321
TOSBD --> Windows --> Preferences --> Java --> Installed JREs: jre1.8.0_321
JAVA_HOME --> set to jre1.8.0_321 folder
Any help in this regard will be appreciated
@Not defined Not defined I found one KB article talking about this error,
problem root cause:
Customer replaced local_policy.jar & US_export_policy.jar files on Java\jdk1.8.0_92\lib\security with version 6 of the same files as per our documentation (which is wrong and pointing to v6 files for Talend 6.x which requires Java 8).
https://help.talend.com/display/KB/How+to+use+Kerberos+in+Talend+Studio+with+Big+Data+v6.x points to
http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
Logged https://jira.talendforge.org/browse/DOCT-6930
Solutions:
Download version 8 of the files local_policy.jar & US_export_policy.jar and copy them to your Java\jdk1.8.0_92\lib\security folder
http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html
Please check and try the solution.
Regards
Shong
Thanks for the response. I have jdk1.8.0_321 and the policy files from that. In the readme for jce_policy-8.zip, that I downloaded, has the following info:
The unlimited policy files for earlier releases are required only for JDK 8 updates earlier than 8u161. On later versions unlimited strength cryptographic algorithms are available by default.
See https://bugs.openjdk.java.net/browse/JDK-8170157 for details
I notice that your JAVA_HOME --> set to jre1.8.0_321 folder, change it to jdk1.8.0_321 folder and restart studio.