README.txt 320 B

1234567891011121314
  1. 1. create a keyspace
  2. CREATE KEYSPACE seaweedfs WITH replication = {'class':'SimpleStrategy', 'replication_factor' : 1};
  3. 2. create filemeta table
  4. USE seaweedfs;
  5. CREATE TABLE filemeta (
  6. directory varchar,
  7. name varchar,
  8. meta blob,
  9. PRIMARY KEY (directory, name)
  10. ) WITH CLUSTERING ORDER BY (name ASC);