2015-01-30 20:36:38 -08:00
|
|
|
#
|
|
|
|
# Druid - a distributed column store.
|
|
|
|
# Copyright 2012 - 2015 Metamarkets Group Inc.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
#
|
|
|
|
|
2015-03-09 16:14:52 -07:00
|
|
|
# Default host: localhost. Default port: 8083. If you run each node type on its own node in production, you should override these values to be IP:8080
|
2015-02-18 11:46:27 -08:00
|
|
|
#druid.host=localhost
|
|
|
|
#druid.port=8083
|
2014-11-24 14:54:11 -08:00
|
|
|
druid.service=historical
|
2013-10-02 14:22:39 -07:00
|
|
|
|
2015-03-09 16:14:52 -07:00
|
|
|
|
2014-11-24 14:54:11 -08:00
|
|
|
# Our intermediate buffer is also very small so longer topNs will be slow.
|
2015-03-09 16:14:52 -07:00
|
|
|
# In prod: set sizeBytes = 512mb
|
2014-01-13 18:01:56 -08:00
|
|
|
druid.processing.buffer.sizeBytes=100000000
|
2015-03-09 16:14:52 -07:00
|
|
|
# We can only 1 scan segment in parallel with these configs.
|
|
|
|
# In prod: set numThreads = # cores - 1
|
2013-11-11 16:43:05 -08:00
|
|
|
druid.processing.numThreads=1
|
2013-10-02 14:22:39 -07:00
|
|
|
|
2015-03-09 16:14:52 -07:00
|
|
|
# maxSize should reflect the performance you want.
|
|
|
|
# Druid memory maps segments.
|
|
|
|
# memory_for_segments = total_memory - heap_size - (processing.buffer.sizeBytes * (processing.numThreads+1)) - JVM overhead (~1G)
|
|
|
|
# The greater the memory/disk ratio, the better performance you should see
|
2014-08-12 14:00:21 -07:00
|
|
|
druid.segmentCache.locations=[{"path": "/tmp/druid/indexCache", "maxSize"\: 10000000000}]
|
2014-11-21 14:45:24 -08:00
|
|
|
druid.server.maxSize=10000000000
|