Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-10255

AttributeError: 'module' object has no attribute 'compress'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.1.x
    • Local/Config, Packaging
    • Linux fedora 21

    • Normal

    Description

      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'

      ./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'
      

      Attachments

        1. error.jpeg
          45 kB
          navithejesh
        2. erroe2.jpeg
          31 kB
          navithejesh

        Activity

          People

            Unassigned Unassigned
            navithejesh navithejesh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: