[
https://issues.apache.org/jira/browse/CASSANDRA-11573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15256403#comment-15256403
]
Martin Emrich commented on CASSANDRA-11573:
-------------------------------------------
Same issue here (CentOS 7, Cassandra 3.0.5 from the datastax RPM repository).
Probably the {{cqlsh}} binary in the RPM was not built against CentOS'es python
library:
https://docs.python.org/2.7/faq/extending.html#when-importing-module-x-why-do-i-get-undefined-symbol-pyunicodeucs2
The {{cqlsh}} binary from http://cassandra.apache.org/download/ (3.0.5 tarball)
works.
> cqlsh fails with undefined symbol: PyUnicodeUCS2_DecodeUTF8
> -----------------------------------------------------------
>
> Key: CASSANDRA-11573
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11573
> Project: Cassandra
> Issue Type: Bug
> Environment: centos 7, datastax ddc 3.5
> installed according to
> http://docs.datastax.com/en/cassandra/3.x/cassandra/install/installRHEL.html
> JVM vendor/version: OpenJDK 64-Bit Server VM/1.8.0_77
> Cassandra version: 3.5.0
> Reporter: Oli Schacher
>
> trying to run cqlsh produces:
> {quote}
> cqlsh
> Traceback (most recent call last):
> File "/usr/bin/cqlsh.py", line 170, in <module>
> from cqlshlib.copyutil import ExportTask, ImportTask
> ImportError: /usr/lib/python2.7/site-packages/cqlshlib/copyutil.so: undefined
> symbol: PyUnicodeUCS2_DecodeUTF8
> {quote}
> with 3.4 the error does not happen.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)