Skip to content

Instantly share code, notes, and snippets.

@ChenShuai1981
Created June 5, 2018 01:38
Show Gist options
  • Save ChenShuai1981/12c7a64f4aef6c29995ff9dd57887fe2 to your computer and use it in GitHub Desktop.
Save ChenShuai1981/12c7a64f4aef6c29995ff9dd57887fe2 to your computer and use it in GitHub Desktop.
druid.service=druid/middlemanager
druid.port=8091
# Number of tasks per middleManager
druid.worker.capacity=10
# Task launch parameters
druid.indexer.runner.javaOpts=-server -Xms512m -Xmx512m -XX:MaxDirectMemorySize=1g -Duser.timezone=UTC -Dfile.encoding=UTF-8 -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager
druid.indexer.task.baseTaskDir=var/druid/task
druid.indexer.task.restoreTasksOnRestart=true
# HTTP server threads
druid.server.http.numThreads=12
# Processing threads and buffers
druid.processing.buffer.sizeBytes=50000000
druid.processing.numMergeBuffers=2
druid.processing.numThreads=1
druid.processing.tmpDir=var/druid/processing
# Hadoop indexing
druid.indexer.task.hadoopWorkingPath=var/druid/hadoop-tmp
druid.indexer.task.defaultHadoopCoordinates=["org.apache.hadoop:hadoop-client:2.7.3"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment