Slackbot
04/30/2023, 6:11 AMVadim
05/01/2023, 1:16 AMServices tab?Anant Sharma
05/01/2023, 5:51 AMVadim
05/01/2023, 5:58 AMVadim
05/01/2023, 6:00 AMdruid.server.maxSize ?Vadim
05/01/2023, 6:00 AMAnant Sharma
05/01/2023, 9:43 AM*historical*:
## If false, historical will not be installed
##
*enabled*: true
*name*: historical
*replicaCount*: 2
*port*: 8083
*serviceType*: ClusterIP
# The Historical will use any available free system memory (i.e., memory not used by the Historical JVM and heap/direct memory buffers or other processes on the system) for memory-mapping of segments on disk. For better query performance, you will want to ensure a good (free system memory / total size of all druid.segmentCache.locations) ratio so that a greater proportion of segments can be kept in memory.
*config*:
*DRUID_XMX*: 2048m # Heap: (0.5GiB * number of CPU cores) + (2 * total size of lookup maps) + druid.cache.sizeInBytes
*DRUID_XMS*: 2048m
*DRUID_MAXDIRECTMEMORYSIZE*: 2000m # (druid.processing.numThreads + druid.processing.numMergeBuffers + 1) * druid.processing.buffer.sizeBytes)
*druid_processing_buffer_sizeBytes*: '100000000'
*druid_processing_numMergeBuffers*: 2 # a 1:4 ratio of merge buffers to processing threads is a reasonable choice for general use.
*druid_processing_numThreads*: 7
This is what my hostorical conf isAnant Sharma
05/01/2023, 9:44 AMAnant Sharma
05/01/2023, 10:57 AMSaydul Bashar
05/01/2023, 12:35 PMdruid.server.maxSize and druid.segmentCache.locations appropriately to fix this issue. You can find more information about these configurations here: https://druid.apache.org/docs/latest/configuration/index.html#historical-general-configurationDavid McHealy
05/01/2023, 1:28 PMruntime.properties: |
druid.processing.numMergeBuffers=2
druid.segmentCache.locations=[{\"path\":\"var/druid/data/segments\",\"maxSize\":"${HISTORICAL_VOLUME_SIZE}"}]David McHealy
05/01/2023, 1:29 PMSaydul Bashar
05/01/2023, 1:30 PMDavid McHealy
05/01/2023, 1:31 PMSaydul Bashar
05/01/2023, 1:32 PM${HISTORICAL_VOLUME_SIZE}David McHealy
05/01/2023, 1:33 PMSaydul Bashar
05/01/2023, 1:33 PMSaydul Bashar
05/01/2023, 1:34 PMDavid McHealy
05/01/2023, 1:34 PMSaydul Bashar
05/01/2023, 1:36 PMDavid McHealy
05/01/2023, 1:36 PMSaydul Bashar
05/01/2023, 1:36 PMSaydul Bashar
05/01/2023, 1:36 PMSaydul Bashar
05/01/2023, 1:36 PMSaydul Bashar
05/01/2023, 1:37 PMDavid McHealy
05/01/2023, 1:37 PMSaydul Bashar
05/01/2023, 1:38 PMSaydul Bashar
05/01/2023, 1:39 PMmaxSize wasn't defined properlyDavid McHealy
05/01/2023, 1:40 PMDavid McHealy
05/01/2023, 1:40 PMSaydul Bashar
05/01/2023, 1:41 PM