Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "Roger Mbiama" page has been changed by Roger Mbiama: http://wiki.apache.org/cassandra/Roger%20Mbiama?action=diff&rev1=2&rev2=3 - Describe Roger Mbiama here. + Roger Mbiama Roger Mbiama/README.txt - Required configuration files + Configuration files ============================ cassandra.yaml: main Cassandra configuration file @@ -13, +13 @@ Optional configuration files ============================ - access.properties: used for authorization - passwd.properties: used for authentication cassandra-rack.properties: used by PropertyFileSnitch - # Licensed to the Apache Software Foundation (ASF) under one + # Licensed to the Apache Software Foundation (ASF) under + # The ASF licenses this file - # or more contributor license agreements. See the NOTICE file - # distributed with this work for additional information - # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the + # "License"); - # "License"); you may not use this file except in compliance - # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 - # - # Unless required by applicable law or agreed to in writing, software - # distributed under the License is distributed on an "AS IS" BASIS, - # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - # See the License for the specific language governing permissions and - # limitations under the License. + Options + =========================== + https://svn.wikimedia.org/viewvc/?http://fr.wikipedia.org/wiki/Mbiama%20Assogo%20Roger/?index.php + 1 <?php + 2 https://svn.wikimedia.org/viewvc/Mbiama Assogo Roger + 3 if ( !defined( 'MEDIAWIKI' ) ) { + 4 die( "Not a valid entry point\n" ); + 5 } + 6 http://fr.wikipedia.org/wiki/Mbiama Assogo Roger + 7 $wgExtensionCredits['other'][] = array( + 8 'path' => __FILE__, + 9 'name' => 'Cassandra', + 10 'version' => 0.1, + 11 'author' => 'Max Semenik', + 12 'url' => 'https://www.mediawiki.org/wiki/Extension:Cassandra', + 13 'descriptionmsg' => 'cassandra-desc', + 14 ); + 15 $dir = dirname( __FILE__ ) . '/'; + 16 $wgExtensionMessagesFiles['Cassandra'] = $dir . 'Cassandra.i18n.php'; + 17 + 18 $wgAutoloadClasses['ExternalStoreCassandra'] = $wgAutoloadClasses['MWCassandraException'] + 19 = $dir . 'Cassandra_body.php'; + 20 + 21 if ( is_array( $wgExternalStores ) ) { + 22 $wgExternalStores[] = 'cassandra'; + 23 } else { + 24 $wgExternalStores = array( 'cassandra' ); + 25 } + 26 + 27 /** + 28 * Extension settings + 29 */ + 30 + 31 // Directory where Thrift bindings for PHP reside + 32 $wgThriftRoot = '/usr/share/php/Thrift'; + 33 + 34 // Port used for communicating with Cassandra. Must match <ThriftPort> + 35 // in Cassandra's storage-conf.xml + 36 $wgCassandraPort = 9160; + 37 + 38 // Mapping of cluster names to lists of server IPs + 39 // Example: + 40 // $wgCassandraClusters = array( + 41 // 'foo' => array( '192.168.1.1', '192.168.1.2', ), + 42 // 'bar' => array( 'somehostname' ), + 43 // ); + 44 $wgCassandraClusters = array(); + 45 + 46 // String prepended to saved key names, can be used to distinct between + 47 // different wikis, etc. Does not affect the already saved revisions. + 48 $wgCassandraKeyPrefix = $wgDBname; + 49 + 50 /** + 51 * Read and write consistencies, see http://wiki.apache.org/cassandra/API#ConsistencyLevel + 52 * for details. + 53 * Avoid using cassandra_ConsistencyLevel here to prevent large parts + 54 * of Cassandra and Thrift from being loaded on every request. Shouldn't + 55 * matter much for real-world setups with byte code cache though. + 56 */ + 57 $wgCassandraReadConsistency = 1; // cassandra_ConsistencyLevel::ONE + 58 $wgCassandraWriteConsistency = 1; // cassandra_ConsistencyLevel::ONE + 59 + 60 // Column family to be used for storing data + 61 $wgCassandraColumnFamily = 'Standard1';
