accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Newton <>
Subject Re: Accumulo debug mode possible?
Date Wed, 15 Jul 2015 21:39:49 GMT
You can add flags to the jvm arguments in which will allow
remote debugging.

But we almost never do that. We generally write unit tests, and debug those.

The primary way we debug is with logging, and jstack'ing the running
When debugging a test system, we'll preserve the write-ahead logs which can
be used to determine what happened, especially for updates to the metadata

We have taken memory dumps of running programs.  This usually kills the
process because the act of dumping memory stops the process too long to
maintain zookeeper sessions.

There's also the monitor, which will highlight unusual conditions, HDFS
errors, show hot-spotting.

For the most part, it's log analysis, and usually a post-mortem.


On Wed, Jul 15, 2015 at 5:04 PM, Leon Xu <> wrote:

> Hi Accumulo devs,
> I am wondering if there is a way to start accumulo in a debug mode. So that
> you can connect your code with the server (either master or tserver) to do
> single step debugging?
> And if not, how do you normally develop and debug to fix certain issues?
> Thanks
> Leon

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message