Description
After installing all packages from Cloudera repository,
ii kudu 1.6.0+cdh5.14.2+0-1.cdh5.14.2.p0.11~jessie-cdh5.14.2 amd64 Columnar storage engine for Hadoop
ii kudu-master 1.6.0+cdh5.14.2+0-1.cdh5.14.2.p0.11~jessie-cdh5.14.2 amd64 Kudu Master service
ii kudu-tserver 1.6.0+cdh5.14.2+0-1.cdh5.14.2.p0.11~jessie-cdh5.14.2 amd64 Kudu Tablet Server service
ii libkuduclient-dev 1.6.0+cdh5.14.2+0-1.cdh5.14.2.p0.11~jessie-cdh5.14.2 amd64 Kudu client development package
ii libkuduclient0 1.6.0+cdh5.14.2+0-1.cdh5.14.2.p0.11~jessie-cdh5.14.2 amd64 Kudu client library
and creating a virtualenv from scratch and installing kudu-python using pip:
pip install cython
pip install kudu-python
The package fails when being imported:
In [1]: import kudu
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-5ff9740ece81> in <module>()
----> 1 import kudu/opt/venv/kudu/local/lib/python2.7/site-packages/kudu/_init_.py in <module>()
{{ 16 # under the License.}}
{{ 17 }}
---> 18 from kudu.client import (Client, Table, Scanner, Session, # noqa
{{ 19 Insert, Update, Delete, Predicate,}}
{{ 20 TimeDelta, KuduError, ScanTokenBuilder,}}ImportError: /opt/venv/kudu/local/lib/python2.7/site-packages/kudu/client.so: undefined symbol: _ZNK4kudu6client10KuduTablet2idB5cxx11Ev
This happens both with Python 2.7.13 and 3.6.4, on Debian Stretch.