hbase-site.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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. <property>
  11. <name>zillion.jaas.conf</name>
  12. <value>D:/Test/kerberos/zk-jaas.conf</value>
  13. </property>
  14. <property>
  15. <name>zillion.krb5.conf</name>
  16. <value>C:/ProgramData/MIT/Kerberos5/krb5.ini</value>
  17. </property>
  18. -->
  19. <property>
  20. <name>hbase.cluster.distributed</name>
  21. <value>true</value>
  22. </property>
  23. <property>
  24. <name>hbase.zookeeper.quorum</name>
  25. <value>zookeeper1</value>
  26. </property>
  27. <property>
  28. <name>zookeeper.session.timeout</name>
  29. <value>300000</value>
  30. </property>
  31. <property>
  32. <name>hbase.rpc.timeout</name>
  33. <value>900000</value>
  34. </property>
  35. <property>
  36. <name>hbase.client.scanner.timeout.period</name>
  37. <value>900000</value>
  38. </property>
  39. <!--
  40. <property>
  41. <name>hbase.security.authentication</name>
  42. <value>kerberos</value>
  43. </property>
  44. <property>
  45. <name>hbase.rpc.engine</name>
  46. <value>org.apache.hadoop.hbase.ipc.SecureRpcEngine</value>
  47. </property>
  48. <property>
  49. <name>hbase.coprocessor.region.classes</name>
  50. <value>org.apache.hadoop.hbase.security.token.TokenProvider</value>
  51. </property>
  52. <property>
  53. <name>hbase.master.kerberos.principal</name>
  54. <value>hadoop/_HOST@HADOOP.COM</value>
  55. </property>
  56. <property>
  57. <name>hbase.master.keytab.file</name>
  58. <value>D:/Test/kerberos/kerberos.keytab</value>
  59. </property>
  60. <property>
  61. <name>hbase.regionserver.kerberos.principal</name>
  62. <value>hadoop/_HOST@HADOOP.COM</value>
  63. </property>
  64. <property>
  65. <name>hbase.regionserver.keytab.file</name>
  66. <value>D:/Test/kerberos/kerberos.keytab</value>
  67. </property>
  68. <property>
  69. <name>hadoop.security.authorization</name>
  70. <value>true</value>
  71. </property>
  72. <property>
  73. <name>hadoop.security.authentication</name>
  74. <value>kerberos</value>
  75. </property>
  76. <property>
  77. <name>keytab.file</name>
  78. <value>D:/Test/kerberos/kerberos.keytab</value>
  79. </property>
  80. <property>
  81. <name>kerberos.principal</name>
  82. <value>hadoop/_HOST@HADOOP.COM</value>
  83. </property>
  84. -->
  85. <property>
  86. <name>MySQL.zookeeper.quorum</name>
  87. <value>localhost</value>
  88. </property>
  89. <property>
  90. <name>MySQL.zookeeper.session.timeout</name>
  91. <value>300000</value>
  92. </property>
  93. <property>
  94. <name>MySQL.c3p0.jdbcUrl</name>
  95. <value>jdbc:mysql://localhost:3306/?useSSL=FALSE&amp;serverTimezone=GMT</value>
  96. </property>
  97. <property>
  98. <name>MySQL.c3p0.user</name>
  99. <value>pbsage</value>
  100. </property>
  101. <property>
  102. <name>MySQL.c3p0.password</name>
  103. <value>123456</value>
  104. </property>
  105. <property>
  106. <name>MySQL.c3p0.acquireIncrement</name>
  107. <value>10</value>
  108. </property>
  109. <property>
  110. <name>MySQL.c3p0.idleConnectionTestPeriod</name>
  111. <value>60</value>
  112. </property>
  113. <property>
  114. <name>MySQL.c3p0.initialPoolSize</name>
  115. <value>10</value>
  116. </property>
  117. <property>
  118. <name>MySQL.c3p0.maxIdleTime</name>
  119. <value>60</value>
  120. </property>
  121. <property>
  122. <name>MySQL.c3p0.maxPoolSize</name>
  123. <value>50</value>
  124. </property>
  125. <property>
  126. <name>MySQL.c3p0.maxStatements</name>
  127. <value>100</value>
  128. </property>
  129. <property>
  130. <name>MySQL.c3p0.minPoolSize</name>
  131. <value>10</value>
  132. </property>
  133. </configuration>