Advertisement
RuralHunter

hbase server configuration

Jul 8th, 2014
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.56 KB | None | 0 0
  1. <configuration>
  2.     <property>
  3.     <name>hbase.rootdir</name>
  4.     <value>hdfs://master:9000/hbase</value>
  5.   </property>
  6.   <property>
  7.     <name>hbase.zookeeper.property.dataDir</name>
  8.     <value>/data/hddata/zookeeper</value>
  9.   </property>
  10. <property>
  11.       <name>hbase.zookeeper.quorum</name>
  12.     <value>master,slave1,slave2,slave3,slave4</value>
  13. </property>
  14. <property>
  15.     <name>hbase.cluster.distributed</name>
  16.     <value>true</value>
  17.   </property>
  18. <property>
  19.     <name>dfs.client.read.shortcircuit</name>
  20.     <value>true</value>
  21.   </property>
  22.   <property>
  23.     <name>dfs.domain.socket.path</name>
  24.     <value>/var/run/hadoop/dn_socket</value>
  25.   </property>
  26. <property>
  27.     <name>dfs.client.read.shortcircuit.buffer.size</name>
  28.     <value>131072</value>
  29.   </property>
  30. <property>
  31.     <name>hbase.lease.recovery.dfs.timeout</name>
  32.     <value>23000</value>
  33.     <description>How much time we allow elapse between calls to recover lease. Should be larger than the dfs timeout.</description>
  34. </property>
  35. <property>
  36.     <name>dfs.client.socket-timeout</name>
  37.     <value>10000</value>
  38.     <description>Down the DFS timeout from 60 to 10 seconds.</description>
  39. </property>
  40. <property>
  41.         <name>hbase.zookeeper.property.maxClientCnxns</name>
  42.         <value>5000</value>
  43.         <description>Limit on number of concurrent connections (at the socket level) that a single client, identified by IP address, may make to a single member of the ZooKeeper ensemble</description>
  44. </property>
  45. <property>
  46.     <name>dfs.replication</name>
  47.     <value>2</value>
  48. </property>
  49. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement