Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E4247200B89 for ; Wed, 21 Sep 2016 23:07:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E2B47160ADB; Wed, 21 Sep 2016 21:07:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0D86E160ABC for ; Wed, 21 Sep 2016 23:07:05 +0200 (CEST) Received: (qmail 6121 invoked by uid 500); 21 Sep 2016 21:07:05 -0000 Mailing-List: contact dev-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list dev@nifi.apache.org Received: (qmail 6109 invoked by uid 99); 21 Sep 2016 21:07:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2016 21:07:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 7D23E1A0CBB for ; Wed, 21 Sep 2016 21:07:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.679 X-Spam-Level: X-Spam-Status: No, score=0.679 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id MyPrjK-C_OcO for ; Wed, 21 Sep 2016 21:07:02 +0000 (UTC) Received: from mail-it0-f52.google.com (mail-it0-f52.google.com [209.85.214.52]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id D52FB5F177 for ; Wed, 21 Sep 2016 21:07:01 +0000 (UTC) Received: by mail-it0-f52.google.com with SMTP id n143so63132336ita.1 for ; Wed, 21 Sep 2016 14:07:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=b+9TprSmMIlRShn7JObzqLJJZJrssQOFqO8O1/ioXAI=; b=LZY+5aIh7hXkvaxVtxbzeZcfE3nOZ6urDj3oCBY9+tbs5Smj7NksKHAFfBr70fHiMp 6JQJzBc5CWqsOkxrVx5J8LONfpn990mnc4p50RQz3n7KexHJEmDBxx2q8HTV8hVCz1/E u/rsLK7vhuKwixN9oPo6cPPuF64QoK9mA+0R1DbqJcjdlum4boI32WR9js0JqwnLXvCs 7xkIAXt4o8kp+3xY2nd2v20bTjnZkCQGqIT226nGSC7aO/2mz8egRkrIvZFTqgRo9gBO 68vMAsmGTMsQzKjKU0vEe0VYY6rgusUVa0oLwFncrKKYaZmj55mDzCOfwkeSl5LRkPP1 lLaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=b+9TprSmMIlRShn7JObzqLJJZJrssQOFqO8O1/ioXAI=; b=N8rS0vOKfzivrXuViUkxgYQrIU8ibkcEhqiC7WkBbXgXxqytoC/34cV9z4sYPq3iAO yDwzvJpTV+XBAbWRH5bQRnKuJ7oHh3DEGe3sMwL5ZzT4MKzSHN1blr9wX/jrvOk/c2L/ dg9NPycQTnqUr2mNd+Gn0aTR7SxMhhjaoe9ww+JdS1XR2xveqynqNaUqabWBpNrmHHaT iz7I+b+lqs3lk/NFTPtUdy76SuFGa/dNFWasuSaxJ+Q/qnKRp9dqRx4UlHGKvYZa4eOH PmqrC+oqQbc3QRqHozvaYxLBJKZGZtfRguaLfXQIa3GQpW+YfTyHcEjbcaoIh8NJZHXC UkCw== X-Gm-Message-State: AE9vXwOaivuC5R89OJbT9RP20lL1XyoKzRYqeu/GV8m13PLWg7STB1x92lZLrlt+fxmZtvbPlEpqOFnJ3Djl0g== X-Received: by 10.36.137.9 with SMTP id s9mr6461271itd.58.1474492020406; Wed, 21 Sep 2016 14:07:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.130.93 with HTTP; Wed, 21 Sep 2016 14:06:59 -0700 (PDT) In-Reply-To: References: <57E2E790.5080601@perfectsearchcorp.com> From: Joe Witt Date: Wed, 21 Sep 2016 17:06:59 -0400 Message-ID: Subject: Re: How to Use Nifi Remote Debugger? To: dev@nifi.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable archived-at: Wed, 21 Sep 2016 21:07:07 -0000 Try telnet 5500 If that cannot connect then it is almost certainly a firewall issue. On Wed, Sep 21, 2016 at 4:28 PM, Tseytlin, Keren wrote: > Thanks for the answers Russell and Manish. > > It appears that it was an issue with the port 8000, when I moved it to > something random then Nifi would start up. > > I=C2=B9m connecting to an EC2 that I=C2=B9ve set up because I need to tes= t some AWS > communication. Now that I have Nifi running, I=C2=B9m trying to connect w= ith > the debugger and getting the following error: > > Error running AWS Nifi: Unable to open debugger port > (xx.xxx.xxx.xxx:5500): java.net.ConnectionException =C2=B3Operation timed= out=C2=B2 > > Does this seem like a networking error? Pretty sure my security groups > have opened up all port communication if coming from my IP. > > Keren > > > On 9/21/16, 4:03 PM, "Russell Bateman" > wrote: > >>Here's how I've been doing it for the last 6 months. I use IntelliJ, but >>I'm also an Eclipse guy. >> >>http://www.javahotchocolate.com/notes/nifi.html#20160323 >> >>Hope this helps. >> >>Russ >> >>On 09/21/2016 01:39 PM, Tseytlin, Keren wrote: >>> Hi All, >>> >>> I want to set up the remote debugger with Nifi so that I can step >>>through the code with IntelliJ. I noticed that last year someone else >>>asked about how to set up remote debugging here -> >>>https://mail-archives.apache.org/mod_mbox/nifi-dev/201508.mbox/%3C764151= 9 >>>c73cd4ad3832b80461b8ce2f5@MBX080-W2-CO-2.exch080.serverpod.net%3E >>> >>> I followed these steps, and uncommented the line: >>>java.arg.debug=3D-agentlib:jdwp=3Dtransport=3Ddt_socket,server=3Dy,suspe= nd=3Dn,addr >>>ess=3D8000. However, when I do that I can't get Nifi to start up properl= y >>>anymore. It will say that Nifi is running, but it will attempt to >>>display an error page (which is some text with html formatting that >>>doesn't get formatted properly). >>> >>> Has remote debugging changed in the past year or so since that thread >>>was posted? Are there any other configs in Nifi that need to be changed? >>>Would really appreciate additional detail for remote debugging with Nifi= . >>> >>> Thanks, >>> Keren >>> ________________________________________________________ >>> >>> The information contained in this e-mail is confidential and/or >>>proprietary to Capital One and/or its affiliates and may only be used >>>solely in performance of work or services for Capital One. The >>>information transmitted herewith is intended only for use by the >>>individual or entity to which it is addressed. If the reader of this >>>message is not the intended recipient, you are hereby notified that any >>>review, retransmission, dissemination, distribution, copying or other >>>use of, or taking of any action in reliance upon this information is >>>strictly prohibited. If you have received this communication in error, >>>please contact the sender and delete the material from your computer. >>> >> > > ________________________________________________________ > > The information contained in this e-mail is confidential and/or proprieta= ry to Capital One and/or its affiliates and may only be used solely in perf= ormance of work or services for Capital One. The information transmitted he= rewith is intended only for use by the individual or entity to which it is = addressed. If the reader of this message is not the intended recipient, you= are hereby notified that any review, retransmission, dissemination, distri= bution, copying or other use of, or taking of any action in reliance upon t= his information is strictly prohibited. If you have received this communica= tion in error, please contact the sender and delete the material from your = computer. >