vamshi

hbase-default.xml

Sep 14th, 2011
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.36 KB | None | 0 0
  1. <configuration>
  2. <property>
  3. <name>hbase.rootdir</name>
  4. <value>hdfs://localhost:8020/hbase</value>
  5. <description>The directory shared by region servers and into
  6. which HBase persists. The URL should be 'fully-qualified'
  7. to include the filesystem scheme. For example, to specify the
  8. HDFS directory '/hbase' where the HDFS instance's namenode is
  9. running at namenode.example.org on port 9000, set this value to:
  10. hdfs://namenode.example.org:9000/hbase. By default HBase writes
  11. into /tmp. Change this configuration else all data will be lost
  12. on machine restart.
  13. </description>
  14. </property>
  15. <property>
  16. <name>hbase.master.port</name>
  17. <value>60000</value>
  18. <description>The port the HBase Master should bind to.</description>
  19. </property>
  20. <property>
  21. <name>hbase.cluster.distributed</name>
  22. <value>true</value>
  23. <description>The mode the cluster will be in. Possible values are
  24. false for standalone mode and true for distributed mode. If
  25. false, startup will run all HBase and ZooKeeper daemons together
  26. in the one JVM.
  27. </description>
  28. </property>
  29. <property>
  30. <name>hbase.tmp.dir</name>
  31. <value>/home/vamshi/Documents/HBASE_SOFTWARE/hbase-0.90.4/hbase-${user.name}</value>
  32. <description>Temporary directory on the local filesystem.
  33. Change this setting to point to a location more permanent
  34. than '/tmp' (The '/tmp' directory is often cleared on
  35. machine restart).
  36. </description>
  37. </property>
  38. <property>
  39. <name>hbase.master.info.port</name>
  40. <value>60010</value>
  41. <description>The port for the HBase Master web UI.
  42. Set to -1 if you do not want a UI instance run.
  43. </description>
  44. </property>
  45. <property>
  46. <name>hbase.master.info.bindAddress</name>
  47. <value>0.0.0.0</value>
  48. <description>The bind address for the HBase Master web UI
  49. </description>
  50. </property>
  51. <property>
  52. <name>hbase.client.write.buffer</name>
  53. <value>2097152</value>
  54. <description>Default size of the HTable clien write buffer in bytes.
  55. A bigger buffer takes more memory -- on both the client and server
  56. side since server instantiates the passed write buffer to process
  57. it -- but a larger buffer size reduces the number of RPCs made.
  58. For an estimate of server-side memory-used, evaluate
  59. hbase.client.write.buffer * hbase.regionserver.handler.count
  60. </description>
  61. </property>
  62. <property>
  63. <name>hbase.regionserver.port</name>
  64. <value>60020</value>
  65. <description>The port the HBase RegionServer binds to.
  66. </description>
  67. </property>
  68. <property>
  69. <name>hbase.regionserver.info.port</name>
  70. <value>60030</value>
  71. <description>The port for the HBase RegionServer web UI
  72. Set to -1 if you do not want the RegionServer UI to run.
  73. </description>
  74. </property>
  75. <property>
  76. <name>hbase.regionserver.info.port.auto</name>
  77. <value>false</value>
  78. <description>Whether or not the Master or RegionServer
  79. UI should search for a port to bind to. Enables automatic port
  80. search if hbase.regionserver.info.port is already in use.
  81. Useful for testing, turned off by default.
  82. </description>
  83. </property>
  84. <property>
  85. <name>hbase.regionserver.info.bindAddress</name>
  86. <value>0.0.0.0</value>
  87. <description>The address for the HBase RegionServer web UI
  88. </description>
  89. </property>
  90. <property>
  91. <name>hbase.regionserver.class</name>
  92. <value>org.apache.hadoop.hbase.ipc.HRegionInterface</value>
  93. <description>The RegionServer interface to use.
  94. Used by the client opening proxy to remote region server.
  95. </description>
  96. </property>
  97. <property>
  98. <name>hbase.client.pause</name>
  99. <value>1000</value>
  100. <description>General client pause value. Used mostly as value to wait
  101. before running a retry of a failed get, region lookup, etc.</description>
  102. </property>
  103. <property>
  104. <name>hbase.client.retries.number</name>
  105. <value>10</value>
  106. <description>Maximum retries. Used as maximum for all retryable
  107. operations such as fetching of the root region from root region
  108. server, getting a cell's value, starting a row update, etc.
  109. Default: 10.
  110. </description>
  111. </property>
  112. <property>
  113. <name>hbase.client.scanner.caching</name>
  114. <value>1</value>
  115. <description>Number of rows that will be fetched when calling next
  116. on a scanner if it is not served from (local, client) memory. Higher
  117. caching values will enable faster scanners but will eat up more memory
  118. and some calls of next may take longer and longer times when the cache is empty.
  119. Do not set this value such that the time between invocations is greater
  120. than the scanner timeout; i.e. hbase.regionserver.lease.period
  121. </description>
  122. </property>
  123. <property>
  124. <name>hbase.client.keyvalue.maxsize</name>
  125. <value>10485760</value>
  126. <description>Specifies the combined maximum allowed size of a KeyValue
  127. instance. This is to set an upper boundary for a single entry saved in a
  128. storage file. Since they cannot be split it helps avoiding that a region
  129. cannot be split any further because the data is too large. It seems wise
  130. to set this to a fraction of the maximum region size. Setting it to zero
  131. or less disables the check.
  132. </description>
  133. </property>
  134. <property>
  135. <name>hbase.regionserver.lease.period</name>
  136. <value>60000</value>
  137. <description>HRegion server lease period in milliseconds. Default is
  138. 60 seconds. Clients must report in within this period else they are
  139. considered dead.</description>
  140. </property>
  141. <property>
  142. <name>hbase.regionserver.handler.count</name>
  143. <value>10</value>
  144. <description>Count of RPC Server instances spun up on RegionServers
  145. Same property is used by the Master for count of master handlers.
  146. Default is 10.
  147. </description>
  148. </property>
  149. <property>
  150. <name>hbase.regionserver.msginterval</name>
  151. <value>3000</value>
  152. <description>Interval between messages from the RegionServer to Master
  153. in milliseconds.
  154. </description>
  155. </property>
  156. <property>
  157. <name>hbase.regionserver.optionallogflushinterval</name>
  158. <value>1000</value>
  159. <description>Sync the HLog to the HDFS after this interval if it has not
  160. accumulated enough entries to trigger a sync. Default 1 second. Units:
  161. milliseconds.
  162. </description>
  163. </property>
  164. <property>
  165. <name>hbase.regionserver.regionSplitLimit</name>
  166. <value>2147483647</value>
  167. <description>Limit for the number of regions after which no more region
  168. splitting should take place. This is not a hard limit for the number of
  169. regions but acts as a guideline for the regionserver to stop splitting after
  170. a certain limit. Default is set to MAX_INT; i.e. do not block splitting.
  171. </description>
  172. </property>
  173. <property>
  174. <name>hbase.regionserver.logroll.period</name>
  175. <value>3600000</value>
  176. <description>Period at which we will roll the commit log regardless
  177. of how many edits it has.</description>
  178. </property>
  179. <property>
  180. <name>hbase.regionserver.hlog.reader.impl</name>
  181. <value>org.apache.hadoop.hbase.regionserver.wal.SequenceFileLogReader</value>
  182. <description>The HLog file reader implementation.</description>
  183. </property>
  184. <property>
  185. <name>hbase.regionserver.hlog.writer.impl</name>
  186. <value>org.apache.hadoop.hbase.regionserver.wal.SequenceFileLogWriter</value>
  187. <description>The HLog file writer implementation.</description>
  188. </property>
  189. <property>
  190. <name>hbase.regionserver.thread.splitcompactcheckfrequency</name>
  191. <value>20000</value>
  192. <description>How often a region server runs the split/compaction check.
  193. </description>
  194. </property>
  195. <property>
  196. <name>hbase.regionserver.nbreservationblocks</name>
  197. <value>4</value>
  198. <description>The number of resevoir blocks of memory release on
  199. OOME so we can cleanup properly before server shutdown.
  200. </description>
  201. </property>
  202. <property>
  203. <name>hbase.zookeeper.dns.interface</name>
  204. <value>default</value>
  205. <description>The name of the Network Interface from which a ZooKeeper server
  206. should report its IP address.
  207. </description>
  208. </property>
  209. <property>
  210. <name>hbase.zookeeper.dns.nameserver</name>
  211. <value>default</value>
  212. <description>The host name or IP address of the name server (DNS)
  213. which a ZooKeeper server should use to determine the host name used by the
  214. master for communication and display purposes.
  215. </description>
  216. </property>
  217. <property>
  218. <name>hbase.regionserver.dns.interface</name>
  219. <value>default</value>
  220. <description>The name of the Network Interface from which a region server
  221. should report its IP address.
  222. </description>
  223. </property>
  224. <property>
  225. <name>hbase.regionserver.dns.nameserver</name>
  226. <value>default</value>
  227. <description>The host name or IP address of the name server (DNS)
  228. which a region server should use to determine the host name used by the
  229. master for communication and display purposes.
  230. </description>
  231. </property>
  232. <property>
  233. <name>hbase.master.dns.interface</name>
  234. <value>default</value>
  235. <description>The name of the Network Interface from which a master
  236. should report its IP address.
  237. </description>
  238. </property>
  239. <property>
  240. <name>hbase.master.dns.nameserver</name>
  241. <value>default</value>
  242. <description>The host name or IP address of the name server (DNS)
  243. which a master should use to determine the host name used
  244. for communication and display purposes.
  245. </description>
  246. </property>
  247. <property>
  248. <name>hbase.balancer.period
  249. </name>
  250. <value>300000</value>
  251. <description>Period at which the region balancer runs in the Master.
  252. </description>
  253. </property>
  254. <property>
  255. <name>hbase.regions.slop</name>
  256. <value>0</value>
  257. <description>Rebalance if any regionserver has average + (average * slop) regions.
  258. Default is 0% slop.
  259. </description>
  260. </property>
  261. <property>
  262. <name>hbase.master.logcleaner.ttl</name>
  263. <value>600000</value>
  264. <description>Maximum time a HLog can stay in the .oldlogdir directory,
  265. after which it will be cleaned by a Master thread.
  266. </description>
  267. </property>
  268. <property>
  269. <name>hbase.master.logcleaner.plugins</name>
  270. <value>org.apache.hadoop.hbase.master.TimeToLiveLogCleaner</value>
  271. <description>A comma-separated list of LogCleanerDelegate invoked by
  272. the LogsCleaner service. These WAL/HLog cleaners are called in order,
  273. so put the HLog cleaner that prunes the most HLog files in front. To
  274. implement your own LogCleanerDelegate, just put it in HBase's classpath
  275. and add the fully qualified class name here. Always add the above
  276. default log cleaners in the list.
  277. </description>
  278. </property>
  279. <property>
  280. <name>hbase.regionserver.global.memstore.upperLimit</name>
  281. <value>0.4</value>
  282. <description>Maximum size of all memstores in a region server before new
  283. updates are blocked and flushes are forced. Defaults to 40% of heap
  284. </description>
  285. </property>
  286. <property>
  287. <name>hbase.regionserver.global.memstore.lowerLimit</name>
  288. <value>0.35</value>
  289. <description>When memstores are being forced to flush to make room in
  290. memory, keep flushing until we hit this mark. Defaults to 35% of heap.
  291. This value equal to hbase.regionserver.global.memstore.upperLimit causes
  292. the minimum possible flushing to occur when updates are blocked due to
  293. memstore limiting.
  294. </description>
  295. </property>
  296. <property>
  297. <name>hbase.server.thread.wakefrequency</name>
  298. <value>10000</value>
  299. <description>Time to sleep in between searches for work (in milliseconds).
  300. Used as sleep interval by service threads such as log roller.
  301. </description>
  302. </property>
  303. <property>
  304. <name>hbase.hregion.memstore.flush.size</name>
  305. <value>67108864</value>
  306. <description>
  307. Memstore will be flushed to disk if size of the memstore
  308. exceeds this number of bytes. Value is checked by a thread that runs
  309. every hbase.server.thread.wakefrequency.
  310. </description>
  311. </property>
  312. <property>
  313. <name>hbase.hregion.preclose.flush.size</name>
  314. <value>5242880</value>
  315. <description>
  316. If the memstores in a region are this size or larger when we go
  317. to close, run a "pre-flush" to clear out memstores before we put up
  318. the region closed flag and take the region offline. On close,
  319. a flush is run under the close flag to empty memory. During
  320. this time the region is offline and we are not taking on any writes.
  321. If the memstore content is large, this flush could take a long time to
  322. complete. The preflush is meant to clean out the bulk of the memstore
  323. before putting up the close flag and taking the region offline so the
  324. flush that runs under the close flag has little to do.
  325. </description>
  326. </property>
  327. <property>
  328. <name>hbase.hregion.memstore.block.multiplier</name>
  329. <value>2</value>
  330. <description>
  331. Block updates if memstore has hbase.hregion.block.memstore
  332. time hbase.hregion.flush.size bytes. Useful preventing
  333. runaway memstore during spikes in update traffic. Without an
  334. upper-bound, memstore fills such that when it flushes the
  335. resultant flush files take a long time to compact or split, or
  336. worse, we OOME.
  337. </description>
  338. </property>
  339. <property>
  340. <name>hbase.hregion.memstore.mslab.enabled</name>
  341. <value>false</value>
  342. <description>
  343. Experimental: Enables the MemStore-Local Allocation Buffer,
  344. a feature which works to prevent heap fragmentation under
  345. heavy write loads. This can reduce the frequency of stop-the-world
  346. GC pauses on large heaps.
  347. </description>
  348. </property>
  349. <property>
  350. <name>hbase.hregion.max.filesize</name>
  351. <value>268435456</value>
  352. <description>
  353. Maximum HStoreFile size. If any one of a column families' HStoreFiles has
  354. grown to exceed this value, the hosting HRegion is split in two.
  355. Default: 256M.
  356. </description>
  357. </property>
  358. <property>
  359. <name>hbase.hstore.compactionThreshold</name>
  360. <value>3</value>
  361. <description>
  362. If more than this number of HStoreFiles in any one HStore
  363. (one HStoreFile is written per flush of memstore) then a compaction
  364. is run to rewrite all HStoreFiles files as one. Larger numbers
  365. put off compaction but when it runs, it takes longer to complete.
  366. </description>
  367. </property>
  368. <property>
  369. <name>hbase.hstore.blockingStoreFiles</name>
  370. <value>7</value>
  371. <description>
  372. If more than this number of StoreFiles in any one Store
  373. (one StoreFile is written per flush of MemStore) then updates are
  374. blocked for this HRegion until a compaction is completed, or
  375. until hbase.hstore.blockingWaitTime has been exceeded.
  376. </description>
  377. </property>
  378. <property>
  379. <name>hbase.hstore.blockingWaitTime</name>
  380. <value>90000</value>
  381. <description>
  382. The time an HRegion will block updates for after hitting the StoreFile
  383. limit defined by hbase.hstore.blockingStoreFiles.
  384. After this time has elapsed, the HRegion will stop blocking updates even
  385. if a compaction has not been completed. Default: 90 seconds.
  386. </description>
  387. </property>
  388. <property>
  389. <name>hbase.hstore.compaction.max</name>
  390. <value>10</value>
  391. <description>Max number of HStoreFiles to compact per 'minor' compaction.
  392. </description>
  393. </property>
  394. <property>
  395. <name>hbase.hregion.majorcompaction</name>
  396. <value>86400000</value>
  397. <description>The time (in miliseconds) between 'major' compactions of all
  398. HStoreFiles in a region. Default: 1 day.
  399. Set to 0 to disable automated major compactions.
  400. </description>
  401. </property>
  402. <property>
  403. <name>hbase.mapreduce.hfileoutputformat.blocksize</name>
  404. <value>65536</value>
  405. <description>The mapreduce HFileOutputFormat writes storefiles/hfiles.
  406. This is the minimum hfile blocksize to emit. Usually in hbase, writing
  407. hfiles, the blocksize is gotten from the table schema (HColumnDescriptor)
  408. but in the mapreduce outputformat context, we don't have access to the
  409. schema so get blocksize from Configuation. The smaller you make
  410. the blocksize, the bigger your index and the less you fetch on a
  411. random-access. Set the blocksize down if you have small cells and want
  412. faster random-access of individual cells.
  413. </description>
  414. </property>
  415. <property>
  416. <name>hfile.block.cache.size</name>
  417. <value>0.2</value>
  418. <description>
  419. Percentage of maximum heap (-Xmx setting) to allocate to block cache
  420. used by HFile/StoreFile. Default of 0.2 means allocate 20%.
  421. Set to 0 to disable.
  422. </description>
  423. </property>
  424. <property>
  425. <name>hbase.hash.type</name>
  426. <value>murmur</value>
  427. <description>The hashing algorithm for use in HashFunction. Two values are
  428. supported now: murmur (MurmurHash) and jenkins (JenkinsHash).
  429. Used by bloom filters.
  430. </description>
  431. </property>
  432.  
  433. <!-- The following properties configure authentication information for
  434. HBase processes when using Kerberos security. There are no default
  435. values, included here for documentation purposes -->
  436. <property>
  437. <name>hbase.master.keytab.file</name>
  438. <value></value>
  439. <description>Full path to the kerberos keytab file to use for logging in
  440. the configured HMaster server principal.
  441. </description>
  442. </property>
  443. <property>
  444. <name>hbase.master.kerberos.principal</name>
  445. <value></value>
  446. <description>Ex. "hbase/[email protected]". The kerberos principal name
  447. that should be used to run the HMaster process. The principal name should
  448. be in the form: user/hostname@DOMAIN. If "_HOST" is used as the hostname
  449. portion, it will be replaced with the actual hostname of the running
  450. instance.
  451. </description>
  452. </property>
  453. <property>
  454. <name>hbase.regionserver.keytab.file</name>
  455. <value></value>
  456. <description>Full path to the kerberos keytab file to use for logging in
  457. the configured HRegionServer server principal.
  458. </description>
  459. </property>
  460. <property>
  461. <name>hbase.regionserver.kerberos.principal</name>
  462. <value></value>
  463. <description>Ex. "hbase/[email protected]". The kerberos principal name
  464. that should be used to run the HRegionServer process. The principal name
  465. should be in the form: user/hostname@DOMAIN. If "_HOST" is used as the
  466. hostname portion, it will be replaced with the actual hostname of the
  467. running instance. An entry for this principal must exist in the file
  468. specified in hbase.regionserver.keytab.file
  469. </description>
  470. </property>
  471. <property>
  472. <name>zookeeper.session.timeout</name>
  473. <value>180000</value>
  474. <description>ZooKeeper session timeout.
  475. HBase passes this to the zk quorum as suggested maximum time for a
  476. session. See http://hadoop.apache.org/zookeeper/docs/current/zookeeperProgrammers.html#ch_zkSessions
  477. "The client sends a requested timeout, the server responds with the
  478. timeout that it can give the client. "
  479. In milliseconds.
  480. </description>
  481. </property>
  482. <property>
  483. <name>zookeeper.znode.parent</name>
  484. <value>/hbase</value>
  485. <description>Root ZNode for HBase in ZooKeeper. All of HBase's ZooKeeper
  486. files that are configured with a relative path will go under this node.
  487. By default, all of HBase's ZooKeeper file path are configured with a
  488. relative path, so they will all go under this directory unless changed.
  489. </description>
  490. </property>
  491. <property>
  492. <name>zookeeper.znode.rootserver</name>
  493. <value>root-region-server</value>
  494. <description>Path to ZNode holding root region location. This is written by
  495. the master and read by clients and region servers. If a relative path is
  496. given, the parent folder will be ${zookeeper.znode.parent}. By default,
  497. this means the root location is stored at /hbase/root-region-server.
  498. </description>
  499. </property>
  500.  
  501. <!--
  502. The following three properties are used together to create the list of
  503. host:peer_port:leader_port quorum servers for ZooKeeper.
  504. -->
  505. <property>
  506. <name>hbase.zookeeper.quorum</name>
  507. <value>localhost</value>
  508. <description>Comma separated list of servers in the ZooKeeper Quorum.
  509. For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com".
  510. By default this is set to localhost for local and pseudo-distributed modes
  511. of operation. For a fully-distributed setup, this should be set to a full
  512. list of ZooKeeper quorum servers. If HBASE_MANAGES_ZK is set in hbase-env.sh
  513. this is the list of servers which we will start/stop ZooKeeper on.
  514. </description>
  515. </property>
  516. <property>
  517. <name>hbase.zookeeper.peerport</name>
  518. <value>2888</value>
  519. <description>Port used by ZooKeeper peers to talk to each other.
  520. See http://hadoop.apache.org/zookeeper/docs/r3.1.1/zookeeperStarted.html#sc_RunningReplicatedZooKeeper
  521. for more information.
  522. </description>
  523. </property>
  524. <property>
  525. <name>hbase.zookeeper.leaderport</name>
  526. <value>3888</value>
  527. <description>Port used by ZooKeeper for leader election.
  528. See http://hadoop.apache.org/zookeeper/docs/r3.1.1/zookeeperStarted.html#sc_RunningReplicatedZooKeeper
  529. for more information.
  530. </description>
  531. </property>
  532. <!-- End of properties used to generate ZooKeeper host:port quorum list. -->
  533.  
  534. <!--
  535. Beginning of properties that are directly mapped from ZooKeeper's zoo.cfg.
  536. All properties with an "hbase.zookeeper.property." prefix are converted for
  537. ZooKeeper's configuration. Hence, if you want to add an option from zoo.cfg,
  538. e.g. "initLimit=10" you would append the following to your configuration:
  539. <property>
  540. <name>hbase.zookeeper.property.initLimit</name>
  541. <value>10</value>
  542. </property>
  543. -->
  544. <property>
  545. <name>hbase.zookeeper.property.initLimit</name>
  546. <value>10</value>
  547. <description>Property from ZooKeeper's config zoo.cfg.
  548. The number of ticks that the initial synchronization phase can take.
  549. </description>
  550. </property>
  551. <property>
  552. <name>hbase.zookeeper.property.syncLimit</name>
  553. <value>5</value>
  554. <description>Property from ZooKeeper's config zoo.cfg.
  555. The number of ticks that can pass between sending a request and getting an
  556. acknowledgment.
  557. </description>
  558. </property>
  559. <property>
  560. <name>hbase.zookeeper.property.dataDir</name>
  561. <value>${hbase.tmp.dir}/zookeeper</value>
  562. <description>Property from ZooKeeper's config zoo.cfg.
  563. The directory where the snapshot is stored.
  564. </description>
  565. </property>
  566. <property>
  567. <name>hbase.zookeeper.property.clientPort</name>
  568. <value>2181</value>
  569. <description>Property from ZooKeeper's config zoo.cfg.
  570. The port at which the clients will connect.
  571. </description>
  572. </property>
  573. <property>
  574. <name>hbase.zookeeper.property.maxClientCnxns</name>
  575. <value>2000</value>
  576. <description>Property from ZooKeeper's config zoo.cfg.
  577. Limit on number of concurrent connections (at the socket level) that a
  578. single client, identified by IP address, may make to a single member of
  579. the ZooKeeper ensemble. Set high to avoid zk connection issues running
  580. standalone and pseudo-distributed.
  581. </description>
  582. </property>
  583. <!-- End of properties that are directly mapped from ZooKeeper's zoo.cfg -->
  584. <property>
  585. <name>hbase.rest.port</name>
  586. <value>8080</value>
  587. <description>The port for the HBase REST server.</description>
  588. </property>
  589. <property>
  590. <name>hbase.rest.readonly</name>
  591. <value>false</value>
  592. <description>
  593. Defines the mode the REST server will be started in. Possible values are:
  594. false: All HTTP methods are permitted - GET/PUT/POST/DELETE.
  595. true: Only the GET method is permitted.
  596. </description>
  597. </property>
  598.  
  599. <property skipInDoc="true">
  600. <name>hbase.defaults.for.version</name>
  601. <value>@@@VERSION@@@</value>
  602. <description>
  603. This defaults file was compiled for version @@@VERSION@@@. This variable is used
  604. to make sure that a user doesn't have an old version of hbase-default.xml on the
  605. classpath.
  606. </description>
  607. </property>
  608. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment