Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Installing Cassandra on your local machine for experimental or development purposes is as easy as downloading and unzipping the tarball (the .tar
compressed file)."
A block of code is set as follows:
cqlsh:weblog> INSERT INTO blogs (id, blog_name, author, email, password) VALUES ( blobAsUuid(timeuuidAsBlob(now())), 'Random Ramblings', 'JRR Rowling', '[email protected]', 'someHashed#passwrd'); cqlsh:weblog> SELECT * FROM blogs; id | author | blog_name | email | password ------------+-------------+------------------+-------------------+-------------------- 83cec... | JRR Rowling | Random Ramblings | [email protected] | someHashed#passwrd (1 rows)
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
# Cassandra Node IP=Data Center:Rack
# Data-center 1
10.110.6.30=DC1:RAC1
10.110.6.11=DC1:RAC1
10.110.4.30=DC1:RAC2
# Data-center 2
10.120.8.10=DC2:RAC1
10.120.8.11=DC2:RAC1
# Data-center 3
10.130.1.13=DC3:RAC1
10.130.2.10=DC3:RAC2
# default for unknown nodes
default=DC1:RAC0
Any command-line input or output is written as follows:
# Check if you have Java $ java -version java version "1.7.0_21" Java(TM) SE Runtime Environment (build 1.7.0_21-b11) Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this:
"Choose the Linux x64-rpm.bin version to download in order to install it on RHEL-like systems."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.