Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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