Subbu Subramaniam
06/12/2020, 5:37 PMloadMode
setting, so if you. have set that to HEAP
, I suggest you move it to MMAP
and restart your servers. Realtime servers have a setting pinot.server.instance.realtime.alloc.offheap
. Setting this to true
makes sure that we use as little heap as possible during consumption, and memory-map files for the rest. If you do not want memory map (and want to use direct memory instead), you can set pinot.server.instance.realtime.alloc.offheap.direct
to true
but I don't think you have set this config. If you have, then please remove it.srisudha
06/14/2020, 9:12 PMsrisudha
06/14/2020, 9:13 PMsrisudha
06/15/2020, 5:59 AMsrisudha
06/15/2020, 3:04 PMSubbu Subramaniam
06/15/2020, 3:58 PMsrisudha
06/15/2020, 5:34 PMsrisudha
06/15/2020, 5:35 PMsrisudha
06/15/2020, 5:35 PMsrisudha
06/15/2020, 5:36 PMsrisudha
06/15/2020, 5:39 PMsrisudha
06/15/2020, 5:40 PMsrisudha
06/15/2020, 5:41 PMSubbu Subramaniam
06/15/2020, 6:57 PMSubbu Subramaniam
06/15/2020, 8:09 PMSubbu Subramaniam
06/15/2020, 8:11 PMsrisudha
06/16/2020, 12:40 PMShounak Kulkarni
06/16/2020, 1:21 PMSubbu Subramaniam
06/16/2020, 4:05 PM-retentionHours 2160
since you have 90d retention. And then the number of hosts will be many moresrisudha
06/16/2020, 4:10 PMsrisudha
06/16/2020, 4:15 PMsrisudha
06/16/2020, 4:15 PMNeha Pawar
-retentionHours
option, the default value is 72. So you need to provide option -retentionHours 2160
when you run the commandShounak Kulkarni
06/16/2020, 4:27 PMSubbu Subramaniam
06/16/2020, 4:39 PMSubbu Subramaniam
06/16/2020, 4:39 PMpinot.server.instance....
a while ago for consumingsegmentsShounak Kulkarni
06/16/2020, 5:10 PMSubbu Subramaniam
06/16/2020, 6:22 PMSubbu Subramaniam
06/16/2020, 6:27 PMpinot.server.instance.realtime.alloc.offheap=true
The dafault is false, in which case yuo are using direct memory for CONSUMING
segments (and then using MMAP for loading them when they are completed, as per your config)Subbu Subramaniam
06/16/2020, 6:29 PMrealtime.segment.flush.autotune.initialRows
please remove it, and let the default ramp up do its course.Subbu Subramaniam
06/16/2020, 6:30 PM24h
? I recommend setting it to 24hSubbu Subramaniam
06/16/2020, 6:31 PMSubbu Subramaniam
06/16/2020, 9:04 PMSubbu Subramaniam
06/16/2020, 9:12 PMNeha Pawar
"dateTimeFieldSpecs": [
{
"name": "roundedTimeSinceEpoch",
"dataType": "LONG",
"format": "1:MILLSECONDS:EPOCH",
"granularity": "15:MINUTES",
"transformFunction": "Groovy({(timeSinceEpoch/900000)*900000}, timeSinceEpoch)"
}
]
srisudha
06/17/2020, 1:31 AMSubbu Subramaniam
06/17/2020, 2:47 AMSubbu Subramaniam
06/17/2020, 2:47 AMSubbu Subramaniam
06/17/2020, 2:48 AMShounak Kulkarni
06/17/2020, 2:13 PMpinot.server.instance.realtime.alloc.offheap=true
I set the flag but when i created the table in the consumer folder under table directory there were files for all 9 consuming segments(3 partition * 3 replicas) each of 512mb. few doubts
1. why its a 512mb file?
2. why all replica files are present in each server even if that server doesnt have that consumer?Subbu Subramaniam
06/17/2020, 3:38 PMdu -sh
to see how much is actually used. We map 512MB at a time and allocate from that to minimize fragmentation and limit the number of file handles.
2. How did you get the impression that all replicas are in each server? Each consuming segment may have multiple files if your allocation exceeds 512MB. So you will see files with extensions .0
, .1
, .2
, etc. created as needed.srisudha
06/17/2020, 7:37 PMsrisudha
06/17/2020, 7:39 PMsrisudha
06/17/2020, 7:39 PMsrisudha
06/17/2020, 7:40 PMsrisudha
06/17/2020, 7:42 PMsrisudha
06/17/2020, 7:42 PMSubbu Subramaniam
06/17/2020, 8:06 PMsrisudha
06/18/2020, 12:40 AMShounak Kulkarni
06/18/2020, 9:16 AMsrisudha
06/18/2020, 9:36 AMsrisudha
06/18/2020, 10:25 AMSubbu Subramaniam
06/18/2020, 3:54 PMShounak Kulkarni
06/18/2020, 4:26 PMMayank
srisudha
06/18/2020, 10:41 PMsrisudha
06/18/2020, 10:42 PMsrisudha
06/18/2020, 10:58 PMSubbu Subramaniam
06/20/2020, 8:19 PMShounak Kulkarni
06/23/2020, 5:21 AM