<?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: Debugging custom NiFi unresponsive flows in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Debugging-custom-NiFi-unresponsive-flows/m-p/142595#M52305</link>
    <description>&lt;P&gt;Thank you for the prompt reply.  I'll your suggestions a try.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jan 2017 05:31:33 GMT</pubDate>
    <dc:creator>murphy_sean</dc:creator>
    <dc:date>2017-01-24T05:31:33Z</dc:date>
    <item>
      <title>Debugging custom NiFi unresponsive flows</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Debugging-custom-NiFi-unresponsive-flows/m-p/142592#M52302</link>
      <description>&lt;P&gt;Using HDF version 2.0.1 I’m seeing an issue where a custom java processor within the NiFi
flow becomes unresponsive or, rather, the messages being sent automatically
routed to the ‘failure’ without any logged reason for the failure. 
This instability seems to occur randomly after an unspecified amount of idle
time.  If I refresh the processor by toggling on and off then the “failed”
documents are successfully cycled through the custom processor.&lt;/P&gt;&lt;P&gt; 
One of the problems I’m having is that I cannot use the  org.apache.nifi.logging.ComponentLog
or related ProcessorLog which provides logging with in the application. 
Either logging within a custom application has  been deprecated or I’m
just not able to find a supported jar for such a purpose.&lt;/P&gt;&lt;P&gt; 
Do either of you have  any suggestions for debugging /tips or any
information you may have which would help discern what might be the cause of
these disruptions in the flowfiles?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 05:07:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Debugging-custom-NiFi-unresponsive-flows/m-p/142592#M52302</guid>
      <dc:creator>murphy_sean</dc:creator>
      <dc:date>2017-01-24T05:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging custom NiFi unresponsive flows</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Debugging-custom-NiFi-unresponsive-flows/m-p/142593#M52303</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/14383/murphysean.html" nodeid="14383"&gt;@Sean Murphy&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;You shouldn't have any issue with logging features. You should be able to call getLogger() in your custom processor to get an instance of ComponentLog.&lt;/P&gt;&lt;P&gt;Another way to debug processors, if you are familiar with remote debugging, is to uncomment the following line in the ./conf/bootstrap.conf file:&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;This way you are able to attach a Java debugger to the NiFi instance on port 8000 using your favorite IDE. NiFi needs to be restarted.&lt;/P&gt;&lt;P&gt;Another option is to use the code provided here (https://github.com/olegz/nifi-ide-integration), it gives you the possibility to directly launch NiFi in your IDE. But if your problem appears time to time it may not be the best approach.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 05:16:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Debugging-custom-NiFi-unresponsive-flows/m-p/142593#M52303</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2017-01-24T05:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging custom NiFi unresponsive flows</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Debugging-custom-NiFi-unresponsive-flows/m-p/142594#M52304</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/63249/how-to-debug-each-nifi-processor.html" target="_blank"&gt;https://community.hortonworks.com/questions/63249/how-to-debug-each-nifi-processor.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/71001/debugging-nifi-flow.html" target="_blank"&gt;https://community.hortonworks.com/questions/71001/debugging-nifi-flow.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;A useful article:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/71839/decyphering-error-messages-in-apache-nifi.html" target="_blank"&gt;https://community.hortonworks.com/articles/71839/decyphering-error-messages-in-apache-nifi.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 05:28:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Debugging-custom-NiFi-unresponsive-flows/m-p/142594#M52304</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2017-01-24T05:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging custom NiFi unresponsive flows</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Debugging-custom-NiFi-unresponsive-flows/m-p/142595#M52305</link>
      <description>&lt;P&gt;Thank you for the prompt reply.  I'll your suggestions a try.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 05:31:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Debugging-custom-NiFi-unresponsive-flows/m-p/142595#M52305</guid>
      <dc:creator>murphy_sean</dc:creator>
      <dc:date>2017-01-24T05:31:33Z</dc:date>
    </item>
  </channel>
</rss>

