Hi, question about ServiceManager.. is it a featur...
# general
a
Hi, question about ServiceManager.. is it a feature or bug to have multiple instances of the same role in bootstrap services? eg. 2 minions
would be easier to manage the orchestration code, if we can assume one per role
k
Although Helix definitely allows multiple instances of same roles within the same process, I don’t see the need for that feature apart from testing purposes - eg simulate a cluster within a single process
a
so feature then? 😄
it forces things slightly more complex, need multimap instead of map
k
It’s ok to have that restriction for now.
👍 1
a
SGTM
x
when I first wrote that, I loose the restrictions to allow any number of pinot-roles. It’s ok to assume 1 controller/broker/server, for minions I suspect it could be many? In general I tried to use instance_id which is in the format of
[role]_[hostname]_[port]
a
luckily intellij saves history 😄
x
👍
a
@Xiang Fu where are you physically btw? I'm in malaysia
x
i’m in bay area
pacific time zone
a
ah ok so late working
x
🙂
a
on my PR one interesting thing I notice is logs clobbering themselves now
Copy code
Starting Pinot Service Managerols.admin.PinotAdministrator.main(PinotAdministrator.java:162) [classes/:?]
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.eManager_a45156d5b660_7098
06:43:30,546 ERROR [main] zk.ZKHelixManager (ZKHelixManager.java:704) - fail to createClient.s
you can see logs clashing on the first line
x
logs clashing?
a
'Starting Pinot Service Managerols.admin.PinotAdministrator.main'
x
ah
a
but this might be something docker related so don't worry about it for now
I'm testing my PR now
this was because stdout/stderr
not about pinot
x
right
logger itself should be fine
a
is pinot java 1.8+?
x
yes
a
I want to log time spent servicemanager startup as there is also time lost there
the dag is sm -> c -> [b,s]
x
yes
also the container log should have timestamp with it