Ivan SPM created KUDU-2465:
------------------------------
Summary: Kudu kudu-python package fails on import
Key: KUDU-2465
URL: https://issues.apache.org/jira/browse/KUDU-2465
Project: Kudu
Issue Type: Bug
Components: python
Affects Versions: 1.5.0
Reporter: Ivan SPM
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)