I'd guess this depends on where you're setting the breakpoints -- I
haven't run into the same problem you're describing.
Most of the time I have to do this, it's either in an RPC handler thread
or in a daemon thread we spawned off for some specific purpose. These
would naturally not preclude the RS from continuing to talk to ZK or the
Master.
On 8/15/18 11:46 PM, Lars Francke wrote:
Hi everyone,
this might sound like a stupid question but how do you go about debugging
HBase? (With the Java debugger I mean)
I use IntelliJ to attach to the running Master or RegionServer as needed,
set breakpoints etc.
But every time I do so the connection to ZK times out and Master or RS are
declared dead. I _always_ forget to set the timeout high enough.
I'm using IntelliJ.
Are you doing anything differently? Is there a way to not pause all threads
when debugging so the heartbeats to ZK keep on going?
Thanks,
Larss