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

Adrian Cole

08/12/2020, 5:38 AM
aloha folks. I'm toying with ServiceManager to start 3-in-1. such that controller, server and broker start as one
works, but what I noticed is that this is individually starting services (ex not trunking them over one port). This makes things like Docker HEALTHCHECK an interesting thing
ex if you do some commands you'll get a 400 if server is not up. I'm wondering if there's a good HTTP path that can show that server + broker are functional, or if it is safe to assume that if you check broker that server is also functional
k

Kishore G

08/12/2020, 5:46 AM
I thought the servicemanager has a different port
and doing health check on that should return good only if all the the configured roles are up and running
👍 1
a

Adrian Cole

08/12/2020, 5:46 AM
yeah but I think the stuff starts individually. checking SM port != checking the other ports right?
k

Kishore G

08/12/2020, 5:47 AM
if thats not the case, we should add that
a

Adrian Cole

08/12/2020, 5:48 AM
I'll look at the code, but main thing is in a pipeline we'd have an awesome time for a single HEALTHCHECK ack this is hard to muster when an image can be used different ways
but it is also possible that by reading the same config or otherwise an effective healthcheck can be built. right now I'm mainly trying to solve a late 400 err
k

Kishore G

08/12/2020, 5:50 AM
Got it, @Xiang Fu should probably have more info, lets create an issue and continue the discussion there?
👍 1
a

Adrian Cole

08/12/2020, 5:50 AM
I'll do it!
k

Kishore G

08/12/2020, 5:51 AM
thats for pointing this issue, we want to make all in one service as the default way to start pinot going forward