Initial commit: Open sourcing all of the Maple Open Technologies code.
This commit is contained in:
commit
755d54a99d
2010 changed files with 448675 additions and 0 deletions
|
|
@ -0,0 +1,30 @@
|
|||
-- Maple Infrastructure - Keyspace Initialization
|
||||
-- This creates keyspaces for all Maple projects with replication factor 3
|
||||
|
||||
-- MaplePress Backend
|
||||
CREATE KEYSPACE IF NOT EXISTS maplepress
|
||||
WITH REPLICATION = {
|
||||
'class': 'SimpleStrategy',
|
||||
'replication_factor': 3
|
||||
}
|
||||
AND DURABLE_WRITES = true;
|
||||
|
||||
|
||||
-- MapleFile Backend
|
||||
CREATE KEYSPACE IF NOT EXISTS maplefile
|
||||
WITH REPLICATION = {
|
||||
'class': 'SimpleStrategy',
|
||||
'replication_factor': 3
|
||||
}
|
||||
AND DURABLE_WRITES = true;
|
||||
|
||||
-- Future projects can be added here
|
||||
-- Example:
|
||||
-- CREATE KEYSPACE IF NOT EXISTS mapleanalytics
|
||||
-- WITH REPLICATION = {
|
||||
-- 'class': 'SimpleStrategy',
|
||||
-- 'replication_factor': 1
|
||||
-- };
|
||||
|
||||
-- Verify keyspaces were created
|
||||
DESCRIBE KEYSPACES;
|
||||
Loading…
Add table
Add a link
Reference in a new issue