Hello, how to setup TimeoutPerPartition (RealtimeT...
# getting-started
p
Hello, how to setup TimeoutPerPartition (RealtimeToOfflineSegmentsTask) for minion job? It’s by default 1 hour and I’m unable to override it.
👀 1
m
@User ^^
x
hmm… I searched a bit around the doc and code, but didn’t find this
TimeoutPerPartition
config. Could you help me locate where this config is defined? ty
p
I cannot find a way how to extend timeout defined on screenshot. The job is failing on timeout (3600sec), because data for 1 day are quite large..
I believe that timeout could be defined here
👀 1
x
got it. so this is a cluster config and can be modified in this way
Copy code
Using "POST /cluster/configs" API on CLUSTER tab in Swagger, with this payload
{
	"RealtimeToOfflineSegmentsTask.timeoutMs": "600000",
}
🙏 1
p
It’s working, thank you. Did I miss something in documentation? E.g. some generic way how to set properties for various tasks etc..
l
hey Pavel, noob question, can you know it failed from that view? or how do you know it failed cause timeout, basically logs?
p
Hi, job status is saved in zookeeper and there is job status noted. It's not in this particular zknode, but little bit lowe in statestore or something.. each job instance has properties and status there
🙌 1
x
I’ll update docs if this is not captured there yet
👍 2
Added here for now: https://docs.pinot.apache.org/basics/components/minion#enable-tasks lemme know if you see a better place to note them.
🙌 2