You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2015/06/25 19:00:06 UTC

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

    [ https://issues.apache.org/jira/browse/ACCUMULO-2917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14601536#comment-14601536 ] 

Josh Elser commented on ACCUMULO-2917:
--------------------------------------

Sorry this sat around so long, [~dallaybatta]! Looking at the problem, the tracer process would conflict with the shell as you described.

I took the liberty of updating your patch against master (1.8.0-SNAPSHOT) and made a small change to retain the original JVM heap sizes that would have been set for the shell in the example configuration files.

If you get a chance, please take a look, otherwise I'll apply the new patch shortly.

> Accumulo shell remote debugger settings.
> ----------------------------------------
>
>                 Key: ACCUMULO-2917
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2917
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: scripts
>            Reporter: Vicky Kak
>            Assignee: Vicky Kak
>            Priority: Trivial
>         Attachments: ACCUMULO-2917.patch
>
>
> 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.3.4#6332)