[ 
https://issues.apache.org/jira/browse/CASSANDRA-10255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14730957#comment-14730957
 ] 

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?

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



> AttributeError: 'module' object has no attribute 'compress' 
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-10255
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10255
>             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/cassandra-driver-internal-only-2.6.0c2.post.zip/cassandra-driver-2.6.0c2.post/cassandra/cluster.py",
>  line 49, in <module>
>  File 
> "/home/cassandra/apache-cassandra-2.1.8/bin/../lib/cassandra-driver-internal-only-2.6.0c2.post.zip/cassandra-driver-2.6.0c2.post/cassandra/connection.py",
>  line 88, in <module>
> AttributeError: 'module' object has no attribute 'compress'
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to