You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Amir Akhmedov <am...@gmail.com> on 2015/04/10 21:40:58 UTC

Running NiFi from IDE

Hi,

Is there any documentation on how to run NiFi inside IDE? I've tried and
faced some issues that I couldn't resolve.


Thank you.

-- 
Sincerely Yours Amir Akhmedov

Re: Running NiFi from IDE

Posted by Amir Akhmedov <am...@gmail.com>.
Mark,

Yes, you are right, I did need it for debug purpose and it worked.

Thank you!

2015-04-11 0:51 GMT+03:00 Mark Payne <ma...@hotmail.com>:

> Amir,
>
> I don't know of anyone having run NiFi from their IDE. I'm assuming you
> want to do this in order to debug a processor?
>
> Generally, we run NiFi with Remote Debug Enabled and debug that way.
>
> To enable remote debug, uncomment this line in your conf/bootstrap.conf
> file:
>
> # Enable Remote Debugging
> #java.arg.debug=-agentlib:jdwp=transport=dt_socket,
> server=y,suspend=n,address=8000
> Then you can connect through whichever IDE you prefer.
>
> I don't think we actually mention anything in the Developer Guide about
> debugging strategies. I have created a ticket
> to update the Developer Guide and include this information:
> https://issues.apache.org/jira/browse/NIFI-513
>
> Thanks!
> -Mark
>
>
> ------ Original Message ------
> From: "Amir Akhmedov" <am...@gmail.com>
> To: dev@nifi.incubator.apache.org
> Sent: 4/10/2015 3:40:58 PM
> Subject: Running NiFi from IDE
>
>  Hi,
>>
>> Is there any documentation on how to run NiFi inside IDE? I've tried and
>> faced some issues that I couldn't resolve.
>>
>>
>> Thank you.
>>
>> --
>> Sincerely Yours Amir Akhmedov
>>
>


-- 
Sincerely Yours Amir Akhmedov

Re: Running NiFi from IDE

Posted by Mark Payne <ma...@hotmail.com>.
Amir,

I don't know of anyone having run NiFi from their IDE. I'm assuming you 
want to do this in order to debug a processor?

Generally, we run NiFi with Remote Debug Enabled and debug that way.

To enable remote debug, uncomment this line in your conf/bootstrap.conf 
file:

# Enable Remote Debugging
#java.arg.debug=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000
Then you can connect through whichever IDE you prefer.

I don't think we actually mention anything in the Developer Guide about 
debugging strategies. I have created a ticket
to update the Developer Guide and include this information: 
https://issues.apache.org/jira/browse/NIFI-513

Thanks!
-Mark

------ Original Message ------
From: "Amir Akhmedov" <am...@gmail.com>
To: dev@nifi.incubator.apache.org
Sent: 4/10/2015 3:40:58 PM
Subject: Running NiFi from IDE

>Hi,
>
>Is there any documentation on how to run NiFi inside IDE? I've tried 
>and
>faced some issues that I couldn't resolve.
>
>
>Thank you.
>
>--
>Sincerely Yours Amir Akhmedov