Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0d38579f0f
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 177 lines (143 sloc) 4.604 kb
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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177
maintainer "Benjamin Black"
maintainer_email "b@b3k.us"
license "Apache 2.0"
description "Installs and configures the Cassandra distributed storage system"
version "0.1"
recipe "cassandra::autoconf", "Automatically configure nodes from chef-server information."
recipe "cassandra::ec2snitch", "Automatically configure properties snitch for clusters on EC2."
depends "java"

%w{ubuntu debian}.each do |os|
  supports os
end

attribute "cassandra",
  :display_name => "Cassandra",
  :description => "Hash of Cassandra attributes",
  :type => "hash"

attribute "cassandra/cluster_name",
  :display_name => "Cassandra cluster name",
  :description => "The name for the Cassandra cluster in which this node should participate. The default is 'Test Cluster'.",
  :default => "Test Cluster"

attribute "cassandra/auto_bootstrap",
  :display_name => "Cassandra automatic boostrap boolean",
  :description => "Boolean indicating whether a node should automatically boostrap on startup.",
  :default => "false"
  
attribute "cassandra/keyspaces",
  :display_name => "Cassandra keyspaces",
  :description => "Hash of keyspace definitions.",
  :type => "array"
  
attribute "cassandra/authenticator",
  :display_name => "Cassandra authenticator",
  :description => "The IAuthenticator to be used for access control.",
  :default => "org.apache.cassandra.auth.AllowAllAuthenticator"

attribute "cassandra/partitioner",
  :display_name => "",
  :description => "",
  :default => "org.apache.cassandra.dht.RandomPartitioner"
  
attribute "cassandra/initial_token",
  :display_name => "",
  :description => "",
  :default => ""
  
attribute "cassandra/commit_log_dir",
  :display_name => "",
  :description => "",
  :default => "/var/lib/cassandra/commitlog"

attribute "cassandra/data_file_dirs",
  :display_name => "",
  :description => "",
  :default => ["/var/lib/cassandra/data"]
  
attribute "cassandra/callout_location",
  :display_name => "",
  :description => "",
  :default => "/var/lib/cassandra/callouts"
  
attribute "cassandra/staging_file_dir",
  :display_name => "",
  :description => "",
  :default => "/var/lib/cassandra/staging"
  
attribute "cassandra/seeds",
  :display_name => "",
  :description => "",
  :default => ["127.0.0.1"]
  
attribute "cassandra/rpc_timeout",
  :display_name => "",
  :description => "",
  :default => "5000"
  
attribute "cassandra/commit_log_rotation_threshold",
  :display_name => "",
  :description => "",
  :default => "128"
  
attribute "cassandra/listen_addr",
  :display_name => "",
  :description => "",
  :default => "localhost"
  
attribute "cassandra/storage_port",
  :display_name => "",
  :description => "",
  :default => "7000"

attribute "cassandra/thrift_addr",
  :display_name => "",
  :description => "",
  :default => "localhost"

attribute "cassandra/thrift_port",
  :display_name => "",
  :description => "",
  :default => "9160"

attribute "cassandra/thrift_framed_transport",
  :display_name => "",
  :description => "",
  :default => "false"
  
attribute "cassandra/disk_access_mode",
  :display_name => "",
  :description => "",
  :default => "auto"
  
attribute "cassandra/sliced_buffer_size",
  :display_name => "",
  :description => "",
  :default => "64"
  
attribute "cassandra/flush_data_buffer_size",
  :display_name => "",
  :description => "",
  :default => "32"
  
attribute "cassandra/flush_index_buffer_size",
  :display_name => "",
  :description => "",
  :default => "8"

attribute "cassandra/column_index_size",
  :display_name => "",
  :description => "",
  :default => "64"
  
attribute "cassandra/memtable_throughput",
  :display_name => "",
  :description => "",
  :default => "64"
  
attribute "cassandra/binary_memtable_throughput",
  :display_name => "",
  :description => "",
  :default => "256"
  
attribute "cassandra/memtable_ops",
  :display_name => "",
  :description => "",
  :default => "0.3"
  
attribute "cassandra/memtable_flush_after",
  :display_name => "",
  :description => "",
  :default => "60"
  
attribute "cassandra/concurrent_reads",
  :display_name => "",
  :description => "",
  :default => "8"
  
attribute "cassandra/concurrent_writes",
  :display_name => "",
  :description => "",
  :default => "32"
  
attribute "cassandra/commit_log_sync",
  :display_name => "",
  :description => "",
  :default => "periodic"
  
attribute "cassandra/commit_log_sync_period",
  :display_name => "",
  :description => "",
  :default => "10000"
  
attribute "cassandra/gc_grace",
  :display_name => "",
  :description => "",
  :default => "864000"
Something went wrong with that request. Please try again.