<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Is there a way to debug a custom NiFi process that is running inside the dataflow? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-debug-a-custom-NiFi-process-that-is/m-p/153543#M36194</link>
    <description>&lt;P&gt;I know this is an old post, but in case if future search results turn up here and someone is unclear on how to do this part of &lt;A rel="user" href="https://community.cloudera.com/users/363/bbende.html" nodeid="363"&gt;@Bryan Bende&lt;/A&gt;'s answer: &lt;/P&gt;&lt;BLOCKQUOTE&gt;Connecting your IDE debugger to the Java process will be specific to which IDE you are using.&lt;/BLOCKQUOTE&gt;&lt;P&gt;I wanted to share a link to a detailed tutorial I put together for how to do this in IntelliJ IDEA: &lt;A href="https://community.hortonworks.com/content/kbentry/106931/nifi-debugging-tutorial.html"&gt;https://community.hortonworks.com/content/kbentry/106931/nifi-debugging-tutorial.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2017 02:02:09 GMT</pubDate>
    <dc:creator>kevdoran</dc:creator>
    <dc:date>2017-06-09T02:02:09Z</dc:date>
    <item>
      <title>Is there a way to debug a custom NiFi process that is running inside the dataflow?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-debug-a-custom-NiFi-process-that-is/m-p/153540#M36191</link>
      <description>&lt;P&gt;I have written a custom NiFi process for use with elasticsearch and I have tested it thoroughly outside of the DataFlow environment and it works perfect but when I drop it into the flow it throws an error message that is of no help so I was wondering if there is a way to debug the code from within the flow or produce a better error message. Any advice/help is appreciated, thanks.  &lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 06:40:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-debug-a-custom-NiFi-process-that-is/m-p/153540#M36191</guid>
      <dc:creator>trz</dc:creator>
      <dc:date>2016-07-28T06:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to debug a custom NiFi process that is running inside the dataflow?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-debug-a-custom-NiFi-process-that-is/m-p/153541#M36192</link>
      <description>&lt;P&gt;You can attach the debugger from your IDE to NiFI... In NiF's conf directory in bootstrap.conf there is a line commented out like this:&lt;/P&gt;&lt;PRE&gt;#java.arg.debug=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000
&lt;/PRE&gt;&lt;P&gt;If you uncomment that line and restart NiFi, the Java process will be listening for a debug connection on port 8000. If you want the process to wait for a connection before starting, you can also set suspend=y. Connecting your IDE debugger to the Java process will be specific to which IDE you are using.&lt;/P&gt;&lt;P&gt;You can also add addition logging statements in your processor code using the logger return from getLogger() to see how far it is getting. The log-levels are controlled through the logback.xml file in the conf directory. The default level for processors is WARN:&lt;/P&gt;&lt;PRE&gt;&amp;lt;loggername="org.apache.nifi.processors"level="WARN"/&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Jul 2016 07:33:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-debug-a-custom-NiFi-process-that-is/m-p/153541#M36192</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2016-07-28T07:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to debug a custom NiFi process that is running inside the dataflow?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-debug-a-custom-NiFi-process-that-is/m-p/153542#M36193</link>
      <description>&lt;P&gt;Thank you sir! I will give it a shot. &lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 07:46:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-debug-a-custom-NiFi-process-that-is/m-p/153542#M36193</guid>
      <dc:creator>trz</dc:creator>
      <dc:date>2016-07-28T07:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to debug a custom NiFi process that is running inside the dataflow?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-debug-a-custom-NiFi-process-that-is/m-p/153543#M36194</link>
      <description>&lt;P&gt;I know this is an old post, but in case if future search results turn up here and someone is unclear on how to do this part of &lt;A rel="user" href="https://community.cloudera.com/users/363/bbende.html" nodeid="363"&gt;@Bryan Bende&lt;/A&gt;'s answer: &lt;/P&gt;&lt;BLOCKQUOTE&gt;Connecting your IDE debugger to the Java process will be specific to which IDE you are using.&lt;/BLOCKQUOTE&gt;&lt;P&gt;I wanted to share a link to a detailed tutorial I put together for how to do this in IntelliJ IDEA: &lt;A href="https://community.hortonworks.com/content/kbentry/106931/nifi-debugging-tutorial.html"&gt;https://community.hortonworks.com/content/kbentry/106931/nifi-debugging-tutorial.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2017 02:02:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-debug-a-custom-NiFi-process-that-is/m-p/153543#M36194</guid>
      <dc:creator>kevdoran</dc:creator>
      <dc:date>2017-06-09T02:02:09Z</dc:date>
    </item>
  </channel>
</rss>

