Hello, is there anyway to run pinot cluster inside...
# troubleshooting
a
Hello, is there anyway to run pinot cluster inside intellij for debug purposes?
x
try quickstart?
a
do you mean running 'pinot-admin.sh QuickStart' command?
x
there is a class called QuickStart, it should have a main method
m
what do you want to debug?
x
You can run/debug it from ide
a
@Xiangfu 1234 thank you
m
if you want to remotely debug a cluster you can do that as well using the 'remote debug' feature in Intellij. But you'd need to set these JAVA_OPTS on the component that you want to debug:
Copy code
JAVA_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
To do the debugging that Xiang suggested, you can also go via the
PinotAdministrator
class if you want to simulate what pinot-admin is doing
r
@Ali Atıl I use HybridQuickStart when I want to do that
a
@Mark Needham actually i wanted to see my changes quickly without taking a build and running pinot-admin.sh script everytime i change something
m
ah cool then do what Xiang/Richard suggested
a
@Mark Needham @Richard Startin thank you a lot
m
you can launch any of the components individually as well - search for
StartBrokerCommand
StartServerCommand
, etc