https://pinot.apache.org/ logo
#general
Title
# general
j

Josh Highley

05/26/2021, 3:16 PM
are there any systemd scripts for starting / stopping the pinot components?
m

Mayank

05/26/2021, 3:19 PM
Not specifically for systemd, but I think you are already aware of Pinot-admin.sh?
j

Josh Highley

05/26/2021, 3:20 PM
I am, but it doesn't configure logging correctly so I have my own manual scripts. I need pinot to start automatically if the server restarts
m

Mayank

05/26/2021, 3:20 PM
What’s the issue with logging? Perhaps we need to fix that?
j

Josh Highley

05/26/2021, 3:21 PM
I can't remember specifically. there were issues with the log4j config I think
m

Mayank

05/26/2021, 3:22 PM
Will fixing logging issue solve your problem ? If so I’d say let’s file an issue and we’ll fix that.
d

Daniel Lavoie

05/26/2021, 3:45 PM
It would be fairly easy to create a systemd wrapper around
pinot-admin.sh
isn’t it? Logging issues should be treated independently
m

Mayank

05/26/2021, 3:47 PM
Yes, agree. I was just trying to ensure that we fix the logging issue as well.
d

Daniel Lavoie

05/26/2021, 3:48 PM
From my personal experience with the docker image, the flush seems like a problem, last line of logging is always incomplete in
pinot<component>.log
.
stdout is fine though
m

Mayank

05/26/2021, 3:49 PM
I recently fixed a bug in quick start logging, where certain log messages just went missing. I think there might be similar issue in pinot-admin. I’ll also try to check that on my own