Unable to Connect to Hive Using SqlCtx on BDA V4.2/CDH 5.4.0 (Doc ID 2141777.1)

Last updated on JUNE 09, 2016

Applies to:

Big Data Appliance Integrated Software - Version 4.2.0 to 4.2.0 [Release 4.2]
Linux x86-64

Symptoms

Unable to connect to Hive from PySpark using sqlCtx in BDA V4.2 / CDH 5.4.0.

The issue was found by reviewing the pyspark log file.

Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.derby.jdbc.EmbeddedDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms