Shard Server Configuration

blur-site.properties

These are the default settings for the shard server that can be overridden in the blur-site.properties file. Consider increasing the various thread pool counts (*.thread.count). Also the blur.max.clause.count sets the BooleanQuery max clause count for Lucene queries.

blur.shard.hostname=
blur.shard.bind.address=0.0.0.0
blur.shard.bind.port=40020
blur.shard.data.fetch.thread.count=8
blur.shard.server.thrift.thread.count=8
blur.shard.opener.thread.count=8
blur.shard.cache.max.querycache.elements=128
blur.shard.cache.max.timetolive=60000
blur.shard.filter.cache.class=org.apache.blur.manager.DefaultBlurFilterCache
blur.shard.index.warmup.class=org.apache.blur.manager.indexserver.DefaultBlurIndexWarmup
blur.shard.blockcache.direct.memory.allocation=true
blur.shard.blockcache.slab.count=-1
blur.shard.buffercache.1024=8192
blur.shard.buffercache.8192=8192
blur.shard.safemodedelay=5000
blur.shard.time.between.commits=30000
blur.shard.time.between.refreshs=3000
blur.max.clause.count=1024
blur.indexmanager.search.thread.count=8

blur.query.max.results.fetch=1000
blur.query.max.row.fetch=100
blur.query.max.record.fetch=1000

blur.gui.shard.port=40090

blur.metrics.reporters=

blur-env.sh

# JAVA JVM OPTIONS for the shard servers, jvm tuning parameters are placed here.
export BLUR_SHARD_JVM_OPTIONS="-Xmx1024m -Djava.net.preferIPv4Stack=true -XX:MaxDirectMemorySize=256m "

# Time to sleep between shard server commands.
export BLUR_SHARD_SLEEP=0.1

# The of shard servers to spawn per machine.
export BLUR_NUMBER_OF_SHARD_SERVER_INSTANCES_PER_MACHINE=1

ShardServer (last edited 2013-06-14 01:24:22 by AaronMcCurry)