Hi All Installed Pinot on ubuntu & started the...
# troubleshooting
s
Hi All Installed Pinot on ubuntu & started the Pinot components(zookeeper,controller &server) , the issue is when the server didn't get any input or server is idle pinot service stops, annoyed to start the components on regular basis,can somebody could guide .
n
can you see anything in server logs indicating an error? you can try creating a docker image with the basic components and play around with Pinot. There are also other ways to setup/run Pinot per doc - https://docs.pinot.apache.org/basics/getting-started#running-pinot
k
How did you install? Source, tar ball or docker image
s
n
I just tried the tar from your link on my MacOS and it seems to work fine.
the issue is when the server didn't get any input or server is idle pinot service stops,
how did you conclude that the service stopped? can you share the commands you used to start the components?
s
when launched the url the components was not loaded it was spinning and not connecting below are commands i used to start the components /pinot-admin.sh StartZookeeper -dataDir /datadir path /zkData & ./pinot-admin.sh StartController -configFileName /path of config file/pinot-controller.conf & ./pinot-admin.sh StartServer -configFileName /path of config filepinot-server.conf & ./pinot-admin.sh StartBroker -configFileName /path of config file/pinot-broker.conf &
n
by default, the pinot component logs should be available under
logs/
directory, unless you have customized your log config. can you check the log file for any errors? I am not sure if stdout gets redirected into these logs
s
checked the logs, didn't find any errors
x
is there any network changes?
s
no
x
Hmm, when you say Pinot service stopped, it's zk/server or broker or controller is stopped or some/all of them are stopped?
s
all of them
x
whats your machine memory size?
bin/pinot-admin.sh put Xms4G there
you can modify it to reduce the JVM size
Copy code
JAVA_OPTS=" -Xms2G -Dlog4j2.configurationFile=conf/log4j2.xml -Dpinot.admin.system.exit=true" bin/pinot-admin.sh xxxxx
s
sure will try and update
reducing the JVM's size didn't work the service runs for maximum 2-3hrs after that it needs a manual start
x
hmm
is zookeeper up always?
s
no
x
hmm, then we need to make sure zk is up always
do you see any problem or error logs from zk?