Skip to Content
Mastering Apache Cassandra 3.x - Third Edition
book

Mastering Apache Cassandra 3.x - Third Edition

by Aaron Ploetz, Tejaswi Malepati
October 2018
Beginner to intermediate content levelBeginner to intermediate
348 pages
10h
English
Packt Publishing
Content preview from Mastering Apache Cassandra 3.x - Third Edition

Local cluster without security enabled

This is the easiest scenario. It's also the least secure, so you shouldn't get into the habit of setting things up this way (which is what too much of running on your own machine can do):

bin/cqlsh

This is the only scenario where executing cqlsh without any parameters may work, and only if you have not configured your local Cassandra node to bind to anything but the home IP address of 127.0.0.1. cqlsh also uses 127.0.0.1 by default, so this will not work in a remote or multiple-node scenario.

cqlsh connects via the native binary protocol and uses port 9042 by default. With Cassandra versions 2.0 and earlier, cqlsh connects via Thrift and uses port 9160. In both cases, you should not have to specify the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Apache Cassandra in Just 2 Hours

Learn Apache Cassandra in Just 2 Hours

Navdeep Kaur

Publisher Resources

ISBN: 9781789131499Supplemental Content