You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Vicky Kak (JIRA)" <ji...@apache.org> on 2014/06/17 06:04:01 UTC

[jira] [Created] (ACCUMULO-2917) Accumulo shell remote debugger settings.

Vicky Kak created ACCUMULO-2917:
-----------------------------------

             Summary: Accumulo shell remote debugger settings.
                 Key: ACCUMULO-2917
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2917
             Project: Accumulo
          Issue Type: Improvement
            Reporter: Vicky Kak
            Assignee: Vicky Kak
            Priority: Trivial


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)