Created 11-23-2022 06:10 AM
ERROR orm.CompilationManager: Sqoop requires a JDK that can compile Java code cloudera
Created 11-24-2022 08:44 AM
Hi @Arsh43 ,
You didn't include the Sqoop command you were running or which "form factor" of Cloudera Data Platform (CDP) you were using when you encountered this error message, but you most likely are seeing it because Sqoop needs a Java Development Kit (or JDK), and the OS you are running it from does not have one installed or it isn't accessible.
The Sqoop command you were running matters because Sqoop builds Java code for imports and exports. If you had a full JDK installed, at the command line the following commands should produce output
BBROOKS-SRVR14150:~ bbrooks$ type javac
javac is /usr/bin/javac
BBROOKS-SRVR14150:~ bbrooks$ javac -version
…that will indicate what version of the JDK's compiler is installed.
Created 12-08-2022 09:06 AM
Thanks it works... I was using CDP 7.4.4 , JDK i was earlier installing java version Open JDK (java development kit) 64-bit-server, version
1.8.0 _232
I resolved this issue by installing
sudo yum install java-1.8.0-openjdk-devel –y
Created 11-24-2022 08:44 AM
Hi @Arsh43 ,
You didn't include the Sqoop command you were running or which "form factor" of Cloudera Data Platform (CDP) you were using when you encountered this error message, but you most likely are seeing it because Sqoop needs a Java Development Kit (or JDK), and the OS you are running it from does not have one installed or it isn't accessible.
The Sqoop command you were running matters because Sqoop builds Java code for imports and exports. If you had a full JDK installed, at the command line the following commands should produce output
BBROOKS-SRVR14150:~ bbrooks$ type javac
javac is /usr/bin/javac
BBROOKS-SRVR14150:~ bbrooks$ javac -version
…that will indicate what version of the JDK's compiler is installed.
Created 12-08-2022 09:06 AM
Thanks it works... I was using CDP 7.4.4 , JDK i was earlier installing java version Open JDK (java development kit) 64-bit-server, version
1.8.0 _232
I resolved this issue by installing
sudo yum install java-1.8.0-openjdk-devel –y