2015-01-30 23:36:38 -05: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 19:14:52 -04: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 14:46:27 -05:00
|
|
|
#druid.host=localhost
|
|
|
|
#druid.port=8083
|
2014-11-24 17:54:11 -05:00
|
|
|
druid.service=historical
|
2013-10-02 17:22:39 -04:00
|
|
|
|
2015-03-09 19:14:52 -04:00
|
|
|
|
2014-11-24 17:54:11 -05:00
|
|
|
# Our intermediate buffer is also very small so longer topNs will be slow.
|
2015-03-09 19:14:52 -04:00
|
|
|
# In prod: set sizeBytes = 512mb
|
2014-01-13 21:01:56 -05:00
|
|
|
druid.processing.buffer.sizeBytes=100000000
|
2015-03-09 19:14:52 -04:00
|
|
|
# We can only 1 scan segment in parallel with these configs.
|
|
|
|
# In prod: set numThreads = # cores - 1
|
2013-11-11 19:43:05 -05:00
|
|
|
druid.processing.numThreads=1
|
2013-10-02 17:22:39 -04:00
|
|
|
|
2015-03-09 19:14:52 -04: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 17:00:21 -04:00
|
|
|
druid.segmentCache.locations=[{"path": "/tmp/druid/indexCache", "maxSize"\: 10000000000}]
|
2014-11-21 17:45:24 -05:00
|
|
|
druid.server.maxSize=10000000000
|