hbase的hbase-site.xml配置文件代码


   
        hbase.rootdir
        hdfs://192.168.10.129:9000/hbase
   

   
        hbase.cluster.distributed
        true
   

   
        hbase.zookeeper.quorum
        master,slaver1,slaver2
   

   
        hbase.tmp.dir
        /home/hbase/
   

   
        hbase.master
        hdfs://192.168.10.129:60000
   

   
        hbase.zookeeper.property.dataDir
        /usr/zookeeper/data
   

   
       
        hbase.client.write.buffer
        5242880
   

   
        hbase.regionserver.handler.count
        300
       
           Count of RPC Listener instances spun up on RegionServers.Same property is used by the Master for count of master handlers.
       

   

   
        hbase.table.sanity.checks
        false
   

   
       
        zookeeper.session.timeout
        30000
   

   
       
        hbase.hregion.max.filesize
        32212254720
   

   
        hbase.hregion.majorcompaction
        0
   

   
        dfs.replication
        3
   

   
        hbase.regionserver.region.split.policy
        org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPolicy
   

   
        hbase.regionserver.optionalcacheflushinterval
        7200000
       
            Maximum amount of time an edit lives in memory before being automatically
            flushed.
            Default 1 hour. Set it to 0 to disable automatic flushing.

   

   
        hfile.block.cache.size
        0.3
        Percentage of maximum heap (-Xmx setting) to allocate to
            block cache
            used by HFile/StoreFile. Default of 0.4 means allocate 40%.
            Set to 0 to disable but it's not recommended; you need at least
            enough cache to hold the storefile indices.

   

   
        hbase.hregion.memstore.flush.size
        52428800
   

   
        hbase.regionserver.global.memstore.size
        0.5
   

   
        hbase.regionserver.global.memstore.size.lower.limit
        0.5
   

   
      dfs.client.socket-timeout
      600000
   

你可能感兴趣的:(hbase)