Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CAF3E11D8B for ; Sun, 15 Jun 2014 14:29:02 +0000 (UTC) Received: (qmail 45938 invoked by uid 500); 15 Jun 2014 14:29:02 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 45888 invoked by uid 500); 15 Jun 2014 14:29:02 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 45876 invoked by uid 99); 15 Jun 2014 14:29:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jun 2014 14:29:02 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of josh.elser@gmail.com designates 209.85.214.175 as permitted sender) Received: from [209.85.214.175] (HELO mail-ob0-f175.google.com) (209.85.214.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jun 2014 14:28:59 +0000 Received: by mail-ob0-f175.google.com with SMTP id wm4so3903137obc.34 for ; Sun, 15 Jun 2014 07:28:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=S6HfgOqTxcF3fPdhlBjCYIz+aUbRYsV+Z8ISbQ+f3GI=; b=ulvuHecvS9dDM4rAbANgmYYCZk2r8B1qd3d1ZXa2VX+cXB+dpKo8j8U7X47X/kFu9s Ng8gb4hS1ig3RdD9vQ8XzRktknJYbvDP93Kw+oUE47tR4l4H5LctBPwZyWe1oEz4TSJc Oes2K/1+Gvfp85QtjgDzP1HvBtRMAtEdAC17IXOsCsONTCZ1HQUvwQVYIwAD6k8UIzOB aZ9xnSrF8gUrcyw3lMLBqFgs1F7s5B1xWphruy3uzh9H+KFXIp9ANRxpC5aHMRAeUCyJ AhOsM/WFH7uWGk7Q1bjVLo1Dsv7g6yMwJzxTqe1zffvFNWN9HjzyxFc17rE3OfwPb+Wx LrsQ== MIME-Version: 1.0 X-Received: by 10.182.96.99 with SMTP id dr3mr14556153obb.42.1402842513738; Sun, 15 Jun 2014 07:28:33 -0700 (PDT) Received: by 10.76.99.82 with HTTP; Sun, 15 Jun 2014 07:28:33 -0700 (PDT) Received: by 10.76.99.82 with HTTP; Sun, 15 Jun 2014 07:28:33 -0700 (PDT) In-Reply-To: References: Date: Sun, 15 Jun 2014 10:28:33 -0400 Message-ID: Subject: Re: Accumulo shell remote debugger settings. From: Josh Elser To: dev@accumulo.apache.org Content-Type: multipart/alternative; boundary=001a11c2e35eb513f204fbe0b91f X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2e35eb513f204fbe0b91f Content-Type: text/plain; charset=UTF-8 I think Vicky is just noting that each process would have to be defined individually and not use ACCUMULO_GENERAL_OPTS as the debugger ports would collide. I think making an ACCUMULO_SHELL_OPTS is fine. On Jun 15, 2014 8:38 AM, "William Slacum" wrote: > Putting the flag in the process/module OPTs is fine. It's what I normally > do when I want to debug. Are you suggesting we have remote debugging > enabled by default? > > > On Sun, Jun 15, 2014 at 9:11 AM, Vicky Kak wrote: > > > 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 > > > --001a11c2e35eb513f204fbe0b91f--