-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME
More file actions
34 lines (22 loc) · 797 Bytes
/
README
File metadata and controls
34 lines (22 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
To build:
(1) Modify THRIFT_BASE and CASSANDRA in the Makefile to reflect where
you have those things installed.
(2) Type "make"
To run:
(1) Make sure Cassandra is running locally.
(2) Set LD_LIBRARY_PATH to include libcassfs.so and any other relevant
libraries (e.g. thrift).
(3) Use the CLI to build an empty filesystem
(4) Run the FUSE daemon to mount the filesystem.
For example:
# In your Cassandra directory...
bin/cassandra -f
# In this directory...
export LD_LIBRARY_PATH=/opt/thrift/lib:.
echo "mkfs foo" | ./cassfs_cli
mkdir -p /tmp/myfs
./cassfs -f -s -o name=foo /tmp/myfs
Notes:
The thrift_gen directory contains files generated by Thrift from the
Cassandra source. You should probably re-generate those files with
your version of both.