Database Reference
In-Depth Information
74dc73e0-2702-11e4-861b-9d03f52e8a2b |
thenews | {'Bergdahl uproar halts plan for
return celebration http://t.co/BhF6kMy5pW
from #APress', 'Obama meeting with European
allies on Ukraine http://t.co/l8P8bPcbom from
#APress'}
(2 rows)
3.
To take a snapshot, we need to use the
nodetool
utility:
nodetool -h localhost -p 7199 snapshot twitter
Requested creating snapshot for: twitter
Snapshot directory: 1408816064473
The output shows that running
nodetool snapshot
over a
local node has created a snapshot
1408816064473
under the
$CASSANDRA_DATA_DIR/twitter/users
folder. Here
$CASSANDRA_DATA_DIR
is the value defined in
Cas-
sandra.yaml
file for
data_file_directories
properties
(see
Figure 9-2
).
Figure 9-2
.
The snapshot directory 1408816064473 under the data directory