seaweedfs/weed/filer2/cassandra/README.txt

13 lines
303 B
Plaintext
Raw Normal View History

2018-05-27 07:01:15 +00:00
1. create a keyspace
CREATE KEYSPACE seaweedfs WITH replication = {'class':'SimpleStrategy', 'replication_factor' : 1};
2. create filemeta table
CREATE TABLE filemeta (
directory varchar,
name varchar,
meta blob,
PRIMARY KEY (directory, name)
) WITH CLUSTERING ORDER BY (name ASC);