This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 11th, 2013  |  syntax: None  |  size: 1.25 KB  |  views: 41  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. hbase-env.sh:
  2.  
  3. export MALLOC_ARENA_MAX=4
  4. export JAVA_HOME=/usr/java/default
  5. export HBASE_HEAPSIZE=16384
  6. export HBASE_OPTS="-XX:+HeapDumpOnOutOfMemoryError -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+UseParNewGC -XX:CMSInitiatingOccupancyFraction=70"
  7.  
  8. hbase-site.xml:
  9.  
  10. <configuration>
  11.   <property>
  12.     <name>hbase.rootdir</name>
  13.     <value>hdfs://node01.myco.local:54310/hbase</value>
  14.   </property>
  15.  
  16.   <property>
  17.     <name>hbase.zookeeper.quorum</name>
  18.     <value>node01.myco.local</value>
  19.   </property>
  20.  
  21.   <property>
  22.     <name>hbase.zookeeper.property.clientPort</name>
  23.     <value>2181</value>
  24.   </property>
  25.  
  26.   <property>
  27.     <name>hbase.cluster.distributed</name>
  28.     <value>true</value>
  29.   </property>
  30.  
  31.   <property>
  32.     <name>hbase.hstore.blockingStoreFiles</name>
  33.     <value>20</value>
  34.   </property>
  35.  
  36.   <property>
  37.     <name>hbase.hregion.memstore.block.multiplier</name>
  38.     <value>4</value>
  39.   </property>
  40.  
  41.   <property>
  42.     <name>hbase.regionserver.handler.count</name>
  43.     <value>48</value>
  44.   </property>
  45.  
  46.   <property>
  47.     <name>hbase.rpc.timeout</name>
  48.     <value>1800000</value>
  49.   </property>
  50.  
  51.   <property>
  52.     <name>hbase.regionserver.lease.period</name>
  53.     <value>1800000</value>
  54.   </property>
  55.  
  56. </configuration>
clone this paste RAW Paste Data