go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Apache Cassandra -- Access via CQL
 
Subject: Apache Cassandra -- Access via CQL
Author: EricJ
Posted on: 09/30/2015 01:43:53 AM


You can start CQL console by entering:

C:\..\bin> cqlsh


If you have customized your Cassandra by:
 rpc_address: 10.11.12.13


you should use the following command:
C:\..\bin> cqlsh 10.11.12.13:9042


or

C:\..\bin> cqlsh 10.11.12.13


Trouble Shooting:

You may get error while executing CQLSH “can’t detect python version cqlsh”
The error indicating that, Python is not installed in your machine.
Steps to follow:
  • 1) Download & install Python 2.7.x;
  • 2) Add "Path" environment variable for Python directory;
  • 3) Execute command “setup.py install” under “C:\apache-cassandra-2.2.1\pylib” to install python.


    Replies:


    References:

  •  


     
    Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
     
    Get your own forum today. It's easy and free.