hbase-site.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  3. <configuration>
  4. <!-- HBase,MySQL,Mix,default is HBase -->
  5. <property>
  6. <name>zillion.database_type</name>
  7. <value>HBase</value>
  8. </property>
  9. <!--
  10. -->
  11. <property>
  12. <name>zillion.jaas.conf</name>
  13. <value>/usr/local/etc/jaas.conf</value>
  14. </property>
  15. <property>
  16. <name>zillion.krb5.conf</name>
  17. <value>/usr/local/etc/krb5.conf</value>
  18. </property>
  19. <property>
  20. <name>zillion.kerberos.txt</name>
  21. <value>/usr/local/etc/kerberos.txt</value>
  22. </property>
  23. <property>
  24. <name>zillion.kerberos.keytab</name>
  25. <value>/usr/local/etc/kerberos.keytab</value>
  26. </property>
  27. <property>
  28. <name>hbase.cluster.distributed</name>
  29. <value>true</value>
  30. </property>
  31. <property>
  32. <name>hbase.zookeeper.quorum</name>
  33. <value>node1</value>
  34. </property>
  35. <property>
  36. <name>zookeeper.session.timeout</name>
  37. <value>300000</value>
  38. </property>
  39. <property>
  40. <name>hbase.rpc.timeout</name>
  41. <value>900000</value>
  42. </property>
  43. <property>
  44. <name>hbase.client.scanner.timeout.period</name>
  45. <value>900000</value>
  46. </property>
  47. <!--
  48. -->
  49. <property>
  50. <name>hbase.security.authentication</name>
  51. <value>kerberos</value>
  52. </property>
  53. <property>
  54. <name>hbase.rpc.engine</name>
  55. <value>org.apache.hadoop.hbase.ipc.SecureRpcEngine</value>
  56. </property>
  57. <property>
  58. <name>hbase.coprocessor.region.classes</name>
  59. <value>org.apache.hadoop.hbase.security.token.TokenProvider</value>
  60. </property>
  61. <property>
  62. <name>hbase.master.kerberos.principal</name>
  63. <value>hadoop/_HOST@HADOOP.COM</value>
  64. </property>
  65. <property>
  66. <name>hbase.master.keytab.file</name>
  67. <value>/usr/local/etc/kerberos.keytab</value>
  68. </property>
  69. <property>
  70. <name>hbase.regionserver.kerberos.principal</name>
  71. <value>hadoop/_HOST@HADOOP.COM</value>
  72. </property>
  73. <property>
  74. <name>hbase.regionserver.keytab.file</name>
  75. <value>/usr/local/etc/kerberos.keytab</value>
  76. </property>
  77. <property>
  78. <name>hadoop.security.authorization</name>
  79. <value>true</value>
  80. </property>
  81. <property>
  82. <name>hadoop.security.authentication</name>
  83. <value>kerberos</value>
  84. </property>
  85. <property>
  86. <name>keytab.file</name>
  87. <value>/usr/local/etc/kerberos.keytab</value>
  88. </property>
  89. <property>
  90. <name>kerberos.principal</name>
  91. <value>hadoop/_HOST@HADOOP.COM</value>
  92. </property>
  93. <property>
  94. <name>Redis.enable</name>
  95. <value>false</value>
  96. </property>
  97. <property>
  98. <name>Redis.address</name>
  99. <value>192.168.3.222:6379</value>
  100. </property>
  101. <property>
  102. <name>Redis.password</name>
  103. <value>foobared</value>
  104. </property>
  105. <property>
  106. <name>ElasticSearch.enable</name>
  107. <value>false</value>
  108. </property>
  109. <property>
  110. <name>ElasticSearch.hostname</name>
  111. <value>192.168.3.221</value>
  112. </property>
  113. <property>
  114. <name>ElasticSearch.port</name>
  115. <value>9200</value>
  116. </property>
  117. <property>
  118. <name>ElasticSearch.scheme</name>
  119. <value>http</value>
  120. </property>
  121. <property>
  122. <name>MySQL.zookeeper.quorum</name>
  123. <value>localhost</value>
  124. </property>
  125. <property>
  126. <name>MySQL.zookeeper.session.timeout</name>
  127. <value>300000</value>
  128. </property>
  129. <property>
  130. <name>MySQL.c3p0.jdbcUrl</name>
  131. <value>jdbc:mysql://localhost:3306/?useSSL=FALSE&amp;serverTimezone=GMT</value>
  132. </property>
  133. <property>
  134. <name>MySQL.c3p0.user</name>
  135. <value>pbsage</value>
  136. </property>
  137. <property>
  138. <name>MySQL.c3p0.password</name>
  139. <value>123456</value>
  140. </property>
  141. <property>
  142. <name>MySQL.c3p0.acquireIncrement</name>
  143. <value>10</value>
  144. </property>
  145. <property>
  146. <name>MySQL.c3p0.idleConnectionTestPeriod</name>
  147. <value>60</value>
  148. </property>
  149. <property>
  150. <name>MySQL.c3p0.initialPoolSize</name>
  151. <value>10</value>
  152. </property>
  153. <property>
  154. <name>MySQL.c3p0.maxIdleTime</name>
  155. <value>60</value>
  156. </property>
  157. <property>
  158. <name>MySQL.c3p0.maxPoolSize</name>
  159. <value>50</value>
  160. </property>
  161. <property>
  162. <name>MySQL.c3p0.maxStatements</name>
  163. <value>100</value>
  164. </property>
  165. <property>
  166. <name>MySQL.c3p0.minPoolSize</name>
  167. <value>10</value>
  168. </property>
  169. </configuration>