|
@@ -0,0 +1,176 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
|
|
|
+<configuration>
|
|
|
+ <!-- HBase,MySQL,Mix,default is HBase -->
|
|
|
+ <property>
|
|
|
+ <name>zillion.database_type</name>
|
|
|
+ <value>HBase</value>
|
|
|
+ </property>
|
|
|
+
|
|
|
+ <!--
|
|
|
+ -->
|
|
|
+<property>
|
|
|
+ <name>zillion.jaas.conf</name>
|
|
|
+ <value>/usr/local/etc/jaas.conf</value>
|
|
|
+</property>
|
|
|
+<property>
|
|
|
+ <name>zillion.krb5.conf</name>
|
|
|
+ <value>/usr/local/etc/krb5.conf</value>
|
|
|
+</property>
|
|
|
+<property>
|
|
|
+ <name>zillion.kerberos.txt</name>
|
|
|
+ <value>/usr/local/etc/kerberos.txt</value>
|
|
|
+</property>
|
|
|
+<property>
|
|
|
+ <name>zillion.kerberos.keytab</name>
|
|
|
+ <value>/usr/local/etc/kerberos.keytab</value>
|
|
|
+</property>
|
|
|
+
|
|
|
+ <property>
|
|
|
+ <name>hbase.cluster.distributed</name>
|
|
|
+ <value>true</value>
|
|
|
+ </property>
|
|
|
+ <property>
|
|
|
+ <name>hbase.zookeeper.quorum</name>
|
|
|
+ <value>node1</value>
|
|
|
+ </property>
|
|
|
+ <property>
|
|
|
+ <name>zookeeper.session.timeout</name>
|
|
|
+ <value>300000</value>
|
|
|
+ </property>
|
|
|
+ <property>
|
|
|
+ <name>hbase.rpc.timeout</name>
|
|
|
+ <value>900000</value>
|
|
|
+ </property>
|
|
|
+ <property>
|
|
|
+ <name>hbase.client.scanner.timeout.period</name>
|
|
|
+ <value>900000</value>
|
|
|
+ </property>
|
|
|
+
|
|
|
+<!--
|
|
|
+-->
|
|
|
+<property>
|
|
|
+ <name>hbase.security.authentication</name>
|
|
|
+ <value>kerberos</value>
|
|
|
+</property>
|
|
|
+<property>
|
|
|
+ <name>hbase.rpc.engine</name>
|
|
|
+ <value>org.apache.hadoop.hbase.ipc.SecureRpcEngine</value>
|
|
|
+</property>
|
|
|
+<property>
|
|
|
+ <name>hbase.coprocessor.region.classes</name>
|
|
|
+ <value>org.apache.hadoop.hbase.security.token.TokenProvider</value>
|
|
|
+</property>
|
|
|
+<property>
|
|
|
+ <name>hbase.master.kerberos.principal</name>
|
|
|
+ <value>hadoop/_HOST@HADOOP.COM</value>
|
|
|
+</property>
|
|
|
+<property>
|
|
|
+ <name>hbase.master.keytab.file</name>
|
|
|
+ <value>/usr/local/etc/kerberos.keytab</value>
|
|
|
+</property>
|
|
|
+<property>
|
|
|
+ <name>hbase.regionserver.kerberos.principal</name>
|
|
|
+ <value>hadoop/_HOST@HADOOP.COM</value>
|
|
|
+</property>
|
|
|
+<property>
|
|
|
+ <name>hbase.regionserver.keytab.file</name>
|
|
|
+ <value>/usr/local/etc/kerberos.keytab</value>
|
|
|
+</property>
|
|
|
+
|
|
|
+<property>
|
|
|
+ <name>hadoop.security.authorization</name>
|
|
|
+ <value>true</value>
|
|
|
+</property>
|
|
|
+<property>
|
|
|
+ <name>hadoop.security.authentication</name>
|
|
|
+ <value>kerberos</value>
|
|
|
+</property>
|
|
|
+<property>
|
|
|
+ <name>keytab.file</name>
|
|
|
+ <value>/usr/local/etc/kerberos.keytab</value>
|
|
|
+</property>
|
|
|
+<property>
|
|
|
+ <name>kerberos.principal</name>
|
|
|
+ <value>hadoop/_HOST@HADOOP.COM</value>
|
|
|
+</property>
|
|
|
+
|
|
|
+ <property>
|
|
|
+ <name>Redis.enable</name>
|
|
|
+ <value>false</value>
|
|
|
+ </property>
|
|
|
+ <property>
|
|
|
+ <name>Redis.address</name>
|
|
|
+ <value>192.168.3.222:6379</value>
|
|
|
+ </property>
|
|
|
+ <property>
|
|
|
+ <name>Redis.password</name>
|
|
|
+ <value>foobared</value>
|
|
|
+ </property>
|
|
|
+ <property>
|
|
|
+ <name>ElasticSearch.enable</name>
|
|
|
+ <value>false</value>
|
|
|
+ </property>
|
|
|
+ <property>
|
|
|
+ <name>ElasticSearch.hostname</name>
|
|
|
+ <value>192.168.3.221</value>
|
|
|
+ </property>
|
|
|
+ <property>
|
|
|
+ <name>ElasticSearch.port</name>
|
|
|
+ <value>9200</value>
|
|
|
+ </property>
|
|
|
+ <property>
|
|
|
+ <name>ElasticSearch.scheme</name>
|
|
|
+ <value>http</value>
|
|
|
+ </property>
|
|
|
+
|
|
|
+ <property>
|
|
|
+ <name>MySQL.zookeeper.quorum</name>
|
|
|
+ <value>localhost</value>
|
|
|
+ </property>
|
|
|
+ <property>
|
|
|
+ <name>MySQL.zookeeper.session.timeout</name>
|
|
|
+ <value>300000</value>
|
|
|
+ </property>
|
|
|
+ <property>
|
|
|
+ <name>MySQL.c3p0.jdbcUrl</name>
|
|
|
+ <value>jdbc:mysql://localhost:3306/?useSSL=FALSE&serverTimezone=GMT</value>
|
|
|
+ </property>
|
|
|
+ <property>
|
|
|
+ <name>MySQL.c3p0.user</name>
|
|
|
+ <value>pbsage</value>
|
|
|
+ </property>
|
|
|
+ <property>
|
|
|
+ <name>MySQL.c3p0.password</name>
|
|
|
+ <value>123456</value>
|
|
|
+ </property>
|
|
|
+ <property>
|
|
|
+ <name>MySQL.c3p0.acquireIncrement</name>
|
|
|
+ <value>10</value>
|
|
|
+ </property>
|
|
|
+ <property>
|
|
|
+ <name>MySQL.c3p0.idleConnectionTestPeriod</name>
|
|
|
+ <value>60</value>
|
|
|
+ </property>
|
|
|
+ <property>
|
|
|
+ <name>MySQL.c3p0.initialPoolSize</name>
|
|
|
+ <value>10</value>
|
|
|
+ </property>
|
|
|
+ <property>
|
|
|
+ <name>MySQL.c3p0.maxIdleTime</name>
|
|
|
+ <value>60</value>
|
|
|
+ </property>
|
|
|
+ <property>
|
|
|
+ <name>MySQL.c3p0.maxPoolSize</name>
|
|
|
+ <value>50</value>
|
|
|
+ </property>
|
|
|
+ <property>
|
|
|
+ <name>MySQL.c3p0.maxStatements</name>
|
|
|
+ <value>100</value>
|
|
|
+ </property>
|
|
|
+ <property>
|
|
|
+ <name>MySQL.c3p0.minPoolSize</name>
|
|
|
+ <value>10</value>
|
|
|
+ </property>
|
|
|
+
|
|
|
+</configuration>
|