cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-10255) AttributeError: 'module' object has no attribute 'compress'
Date Fri, 04 Sep 2015 15:30:45 GMT


Tyler Hobbs commented on CASSANDRA-10255:

Let's keep this ticket focused on the {{AttributeError}} since the data sizes are unrelated.

After you installed python-snappy on node B, did the error remain the same?  Did you install
snappy with pip?  If so, were there any errors during the installation?

Can you run the following and paste the results?

python -c 'import snappy; print dir(snappy); print snappy.__file__'

> AttributeError: 'module' object has no attribute 'compress' 
> ------------------------------------------------------------
>                 Key: CASSANDRA-10255
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Config, Packaging
>         Environment: Linux fedora 21
>            Reporter: navithejesh
>              Labels: cqlsh
>             Fix For: 2.1.x
>         Attachments: erroe2.jpeg, error.jpeg
> Hi Recently i have upgrade my server from cassandra version 2.0.11 to 2.1.8 using tarball
installation.And i have added one node to existing culster with the same version of 2.1.8.
All the configuration settings are done but am not able to run cqlsh from bin directory.and
this is the error
> AttributeError: 'module' object has no attribute 'compress'
> {code}
> ./cqlsh
> Traceback (most recent call last):
>  File "./cqlsh", line 111, in <module>
>     from cassandra.cluster import Cluster, PagedResult
> File "/home/cassandra/apache-cassandra-2.1.8/bin/../lib/",
line 49, in <module>
>  File "/home/cassandra/apache-cassandra-2.1.8/bin/../lib/",
line 88, in <module>
> AttributeError: 'module' object has no attribute 'compress'
> {code}

This message was sent by Atlassian JIRA

View raw message