[ 
https://issues.apache.org/jira/browse/CASSANDRA-15017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

AvionTEq - Edelyn updated CASSANDRA-15017:
------------------------------------------
    Attachment: AvionTEq.zip

Hi

Please see the attached file...

zip pass 1234567

Best Regards.




AvionTEq - Edelyn





From: j...@apache.org
Sent: Sun, 10 Feb 2019 20:55:00 +0000
To: commits@cassandra.apache.org
Subject: [jira] [Comment Edited] (CASSANDRA-15017) Unable to connect to CQLSH
 


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

Dinesh Joshi edited comment on CASSANDRA-15017 at 2/10/19 8:54 PM:
-------------------------------------------------------------------

Could you please ask your question on the cassandra-users mailing list? 
http://cassandra.apache.org/community/


was (Author: djoshi3):
Could you please ask your question on the cassandra-users mailing list?




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org


> Unable to connect to CQLSH
> --------------------------
>
>                 Key: CASSANDRA-15017
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15017
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Saisharan
>            Priority: Major
>         Attachments: AvionTEq.zip, AvionTEq.zip, AvionTEq.zip, AvionTEq.zip
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> when trying to connect cqlsh i am getting error *Connection error: ('Unable 
> to connect to any servers',*
> *{'127.0.0.1': ProtocolError('Unexpected response during Connection setup: 
> AttributeError("\'module\' object has no attribute \'decompress\'",)',)}*
> *)*
>  Installed python-snappy using apt-get... no issues
>  But when installed with pip; the errors are 
> *Collecting python-snappy*
>  *Using cached 
> [https://files.pythonhosted.org/packages/89/fe/a81a219c183c7e578b6f82d9c2425df045548877be6559358e8560c1e9fd/python-snappy-0.5.3.tar.gz]*
>  *Building wheels for collected packages: python-snappy*
>  *Running setup.py bdist_wheel for python-snappy ... error*
>  *Complete output from command /usr/bin/python u -c "import setuptools, 
> tokenize;_file='/tmp/pip-build-P7pulc/python-snappy/setup.py';f=getattr(tokenize,
>  'open', open)(file);code=f.read().replace('\r\n', 
> '\n');f.close();exec(compile(code, __file_, 'exec'))" bdist_wheel -d 
> /tmp/tmpyBEeJ6pip-wheel --python-tag cp27:*
>  */usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution 
> option: 'cffi_modules'*
>  *warnings.warn(msg)*
>  *running bdist_wheel*
>  *running build*
>  *running build_py*
>  *creating build*
>  *creating build/lib.linux-x86_64-2.7*
>  *creating build/lib.linux-x86_64-2.7/snappy*
>  *copying snappy/__init__.py -> build/lib.linux-x86_64-2.7/snappy*
>  *copying snappy/hadoop_snappy.py -> build/lib.linux-x86_64-2.7/snappy*
>  *copying snappy/snappy_cffi_builder.py -> build/lib.linux-x86_64-2.7/snappy*
>  *copying snappy/snappy_cffi.py -> build/lib.linux-x86_64-2.7/snappy*
>  *copying snappy/__main__.py -> build/lib.linux-x86_64-2.7/snappy*
>  *copying snappy/snappy.py -> build/lib.linux-x86_64-2.7/snappy*
>  *copying snappy/snappy_formats.py -> build/lib.linux-x86_64-2.7/snappy*
>  *running build_ext*
>  *building 'snappy._snappy' extension*
>  *creating build/temp.linux-x86_64-2.7*
>  *creating build/temp.linux-x86_64-2.7/snappy*
>  *x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall 
> -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -fdebug-prefix-map=/build/python2.7-VlbVAf/python2.7-2.7.15=. 
> -fstack-protector-strong -Wformat -Werror=format-security -fPIC 
> -I/usr/include/python2.7 -c snappy/snappymodule.cc -o 
> build/temp.linux-x86_64-2.7/snappy/snappymodule.o*
>  *cc1plus: warning: command line option '-Wstrict-prototypes' is valid for 
> C/ObjC but not for C++*
>  *snappy/snappymodule.cc:31:10: fatal error: snappy-c.h: No such file or 
> directory*
>  *#include <snappy-c.h>*
>  *^~~~~~~~~~~~*
>  *compilation terminated.*
>  *error: command 'x86_64-linux-gnu-gcc' failed with exit status 1*
> *----------------------------------------*
>  *Failed building wheel for python-snappy*
>  *Running setup.py clean for python-snappy*
>  *Failed to build python-snappy*
>  *Installing collected packages: python-snappy*
>  *Running setup.py install for python-snappy ... error*
>  *Complete output from command /usr/bin/python -u -c "import setuptools, 
> tokenize;__file__='/tmp/pip-build-P7pulc/python-snappy/setup.py';f=getattr(tokenize,
>  'open', open)(__file__);code=f.read().replace('\r\n', 
> '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record 
> /tmp/pip-4Ie8H2-record/install-record.txt --single-version-externally-managed 
> --compile --user --prefix=:*
>  */usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution 
> option: 'cffi_modules'*
>  *warnings.warn(msg)*
>  *running install*
>  *running build*
>  *running build_py*
>  *creating build*
>  *creating build/lib.linux-x86_64-2.7*
>  *creating build/lib.linux-x86_64-2.7/snappy*
>  *copying snappy/__init__.py -> build/lib.linux-x86_64-2.7/snappy*
>  *copying snappy/hadoop_snappy.py -> build/lib.linux-x86_64-2.7/snappy*
>  *copying snappy/snappy_cffi_builder.py -> build/lib.linux-x86_64-2.7/snappy*
>  *copying snappy/snappy_cffi.py -> build/lib.linux-x86_64-2.7/snappy*
>  *copying snappy/__main__.py -> build/lib.linux-x86_64-2.7/snappy*
>  *copying snappy/snappy.py -> build/lib.linux-x86_64-2.7/snappy*
>  *copying snappy/snappy_formats.py -> build/lib.linux-x86_64-2.7/snappy*
>  *running build_ext*
>  *building 'snappy._snappy' extension*
>  *creating build/temp.linux-x86_64-2.7*
>  *creating build/temp.linux-x86_64-2.7/snappy*
>  *x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall 
> -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -fdebug-prefix-map=/build/python2.7-VlbVAf/python2.7-2.7.15=. 
> -fstack-protector-strong -Wformat -Werror=format-security -fPIC 
> -I/usr/include/python2.7 -c snappy/snappymodule.cc -o 
> build/temp.linux-x86_64-2.7/snappy/snappymodule.o*
>  *cc1plus: warning: command line option '-Wstrict-prototypes' is valid for 
> C/ObjC but not for C++*
>  *snappy/snappymodule.cc:31:10: fatal error: snappy-c.h: No such file or 
> directory*
>  *#include <snappy-c.h>*
>  *^~~~~~~~~~~~*
>  *compilation terminated.*
>  *error: command 'x86_64-linux-gnu-gcc' failed with exit status 1*
> *----------------------------------------*
>  *Command "/usr/bin/python -u -c "import setuptools, 
> tokenize;__file__='/tmp/pip-build-P7pulc/python-snappy/setup.py';f=getattr(tokenize,
>  'open', open)(__file__);code=f.read().replace('\r\n', 
> '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record 
> /tmp/pip-4Ie8H2-record/install-record.txt --single-version-externally-managed 
> --compile --user --prefix=" failed with error code 1 in 
> /tmp/pip-build-P7pulc/python-snappy/*
> The output of *python -c 'import snappy; print dir(snappy); print 
> snappy.__file__'* is
>  *['StreamCompressor', 'StreamDecompressor', 'UncompressError', 
> '__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__', 
> '_snappy', 'absolute_import', 'compress', 'decompress', 'hadoop_snappy', 
> 'hadoop_stream_compress', 'hadoop_stream_decompress', 'isValidCompressed', 
> 'snappy', 'stream_compress', 'stream_decompress', 'uncompress']
>  /usr/lib/python2.7/dist-packages/snappy/__init__.pyc*
> Also installed lz4 with apt-get and pip no errors
>  
> Pls help me out me out



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to