diff options
Diffstat (limited to 'weed/filer/cassandra/README.txt')
| -rw-r--r-- | weed/filer/cassandra/README.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/weed/filer/cassandra/README.txt b/weed/filer/cassandra/README.txt new file mode 100644 index 000000000..122c9c3f4 --- /dev/null +++ b/weed/filer/cassandra/README.txt @@ -0,0 +1,14 @@ +1. create a keyspace + +CREATE KEYSPACE seaweedfs WITH replication = {'class':'SimpleStrategy', 'replication_factor' : 1}; + +2. create filemeta table + + USE seaweedfs; + + CREATE TABLE filemeta ( + directory varchar, + name varchar, + meta blob, + PRIMARY KEY (directory, name) + ) WITH CLUSTERING ORDER BY (name ASC); |
