Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

libkudu_client.so.0: cannot open shared object file: No such file or directory

avatar
New Contributor

hello cloudera community,

 

we are trying to use pyspark to interact with kudu

 

We were able to successfully execute the command below:

 

import kudu

 

but when running the command below:

 

from kudu.client import Partitioning

 

returns the error

 

ImportError: libkudu_client.so.0: cannot open shared object file: No such file or directory

 

ps: we are using cdp, cdh 7.1.7 and cm 7.6.1

1 ACCEPTED SOLUTION

avatar
New Contributor

hi @Samanta001 

 

unfortunately pyspark has no interaction with kudu

 

to interact with kudu (create, insert, delete) only works with scala or java api

 

for that you should use spark-shell

View solution in original post

2 REPLIES 2

avatar
Contributor

Hi,

 

Here the VERSION CDP 7.1.7 we have to download the KUDU python client

Please follow the below document to get help

https://docs.cloudera.com/cdp-private-cloud-base/7.1.7/kudu-development/topics/kudu-python-client.ht...

 

If the client not found we can use  7.1.6 client

 

https://docs.cloudera.com/cdp-private-cloud-base/7.1.6/kudu-development/topics/kudu-python-client.ht...

 

 

Please confirm if we are getting the same error after the installation of kudu python client

avatar
New Contributor

hi @Samanta001 

 

unfortunately pyspark has no interaction with kudu

 

to interact with kudu (create, insert, delete) only works with scala or java api

 

for that you should use spark-shell