https://pinot.apache.org/ logo
m

Matt

02/19/2021, 12:34 AM
Hello, I set the controller config as per the documentation. However controller is not starting up and throwing error.
Copy code
controller.realtime.segment.validation.frequencyInSeconds=900
controller.broker.resource.validation.frequencyInSeconds=900

2021/02/18 14:46:44.389 ERROR [StartServiceManagerCommand] [main] Failed to start a Pinot [CONTROLLER] at 39.246 since launch
java.lang.NumberFormatException: For input string: "[300, 900]"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:1.8.0_282]
at java.lang.Integer.parseInt(Integer.java:580) ~[?:1.8.0_282]
d

Daniel Lavoie

02/19/2021, 12:35 AM
Can you provider a complete stack which will tell more context?
m

Matt

02/19/2021, 12:36 AM
This is the error sorry accidentally send before adding full log
Copy code
2021/02/18 14:46:44.389 ERROR [StartServiceManagerCommand] [main] Failed to start a Pinot [CONTROLLER] at 39.246 since launch
java.lang.NumberFormatException: For input string: "[300, 900]"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:1.8.0_282]
at java.lang.Integer.parseInt(Integer.java:580) ~[?:1.8.0_282]
it did says frequencyInSeconds and it rejects 300/900
d

Daniel Lavoie

02/19/2021, 12:37 AM
I mean… don’t you have more logs?
This stack trace doesn’t tell where the error is hapening
x

Xiang Fu

02/19/2021, 12:40 AM
what’s the controller config ? did you put any config with value
[300, 900]
?
m

Matt

02/19/2021, 12:40 AM
nope all I did was setting two properties
Copy code
controller.realtime.segment.validation.frequencyInSeconds=900
controller.broker.resource.validation.frequencyInSeconds=900
seems like Pinot internally doing this
k

Ken Krugler

02/19/2021, 12:42 AM
I’m wondering if you have another (duplicate) setting in the config file for either of those two values, with a setting =300, and it builds a multi-value property setting.
💯 3
d

Daniel Lavoie

02/19/2021, 12:43 AM
Indeed, the config framework of pinot appends duplicate properties
x

Xiang Fu

02/19/2021, 12:44 AM
This is a good catch, we should avoid this case.
m

Matt

02/19/2021, 12:45 AM
Ahh thats correct I have it defined at two places..!!! . I was somehow having kafka in mind which picks the last config.
Thanks guys
d

Daniel Lavoie

02/19/2021, 12:45 AM
Kudos to @Ken Krugler
👍 2
x

Xiang Fu

02/19/2021, 12:46 AM
Can you also create a github issue so we can track and fix this
Thanks @Ken Krugler
k

Ken Krugler

02/19/2021, 12:47 AM
You’re welcome - though I still owe about 50x in help that I’ve received from everyone while learning about Pinot 🙂
😝 1
m

Matt

02/19/2021, 12:53 AM
x

Xiang Fu

02/19/2021, 1:25 AM
Thanks!