While trying to get the remote debugger running with accumulo I figured
that for the accumulo shell command we need to introduce the following
changes

1) test -z "$ACCUMULO_SHELL_OPTS"   && export ACCUMULO_SHELL_OPTS="-Xmx128m
-Xms64m -Xrunjdwp:server=y,transport=dt_socket,address=4002,suspend=n"

in accumulo-env.sh

2)
include the additional case in accumulo.sh

shell)  export ACCUMULO_OPTS="${ACCUMULO_GENERAL_OPTS}
${ACCUMULO_SHELL_OPTS}" ;;

We can't define the debugger port in the $ACCUMULO_OTHER_OPTS in the
accumulo-env.sh as that would be bind when start-all.sh is called.

Before I raise a JIRA for this a provide a patch I would like to hear the
option from others how they enable the remote debugging for the shell
command.

Thanks,
Vicky

Reply via email to