Support Questions

Find answers, ask questions, and share your expertise

ERROR orm.CompilationManager: Sqoop requires a JDK that can compile Java code cloudera

New Contributor

ERROR orm.CompilationManager: Sqoop requires a JDK that can compile Java code cloudera

1 REPLY 1

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.

 

 

Bill Brooks, Community Moderator
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.