Hello, i do not remember where i should increase t...
# general
d
Hello, i do not remember where i should increase the timeout of the query during the debug of the code. Could anyone remind me?
x
In both broker config:
Copy code
pinot.broker.timeoutMs=10000 // 10 secs
and in server config:
Copy code
pinot.server.query.executor.timeout=15000 // 15 secs
d
@Xiang Fu i am running the Quickstart.java file in debug mode, how can i change those settings?
where is the configuration when i run Pinot via Quickstart.java?
x
quickstart uses default config to start it
to start pinot with config files
instead of one command to start everything, you need 3 commands
d
ok, if i start Pinot in that way how can i debug the code?
x
ah
so you want to run pinot in IDE?
if so, you can config IDE startup arguments
e.g. start controller in commandline (assuming you are not debugging it )
then start broker in IDE with debug mode(config arguments in IDE )
then start server in IDE with debug mode as well
d
yes i would like to run pinot from intelliJ to debug and understand better how it works, all the steps of a query
x
message has been deleted
👍 1
d
@Xiang Fu i think default config settings could be changed for debugging no? i mean...can i not set a timeout value in the code? i mean...it reads the the MS values somewhere
x
yes you can
let me check the code
d
ok i think is better in that way i can run everything from IDE
x
main()
entry point is in
org.apache.pinot.tools.Quickstart
d
Yes
x
in
org.apache.pinot.tools.admin.command.QuickstartRunner
, there is
startAll()
Copy code
public void startAll()
      throws Exception {
    startZookeeper();
    startControllers();
    startBrokers();
    startServers();
  }
d
ok
x
you can set config separately in
startBrokers()
and
startServers()
``````
👍 1
you can change code here to use broker conf file
similar for pinot server
d
that's perfect!