<?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: Processor failures: how to get the error on the flowfile &amp;quot;failuire&amp;quot; ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Processor-failures-how-to-get-the-error-on-the-flowfile-quot/m-p/221030#M69721</link>
    <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/141676/processor-failures-how-to-get-the-error-on-the-flo.html#"&gt;@msumbul&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I don't know of any standard error attribute in NiFi. This depends on the processor and usually is not provided.&lt;/P&gt;&lt;P&gt;You can always use UpdateAttribute to add an error type following your needs. If a processor has three possible errors relations, you can have 3 update processors which add an attribute error and populate it with the type of error.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Oct 2017 19:34:11 GMT</pubDate>
    <dc:creator>ahadjidj</dc:creator>
    <dc:date>2017-10-16T19:34:11Z</dc:date>
    <item>
      <title>Processor failures: how to get the error on the flowfile "failuire" ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Processor-failures-how-to-get-the-error-on-the-flowfile-quot/m-p/221029#M69720</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If a processor failed and routed the flowfile to the relationship failure. Is there an attribute "error"? If it's the case for some processor how to know if they have it?&lt;BR /&gt;For example, the puthdfs, I don't see anything in the documentation. &lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-hadoop-nar/1.4.0/org.apache.nifi.processors.hadoop.PutHDFS/index.html"&gt;doc puthdfs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Is there another way to have the reason of the failure attached to the flowfile,&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Michel&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 19:25:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Processor-failures-how-to-get-the-error-on-the-flowfile-quot/m-p/221029#M69720</guid>
      <dc:creator>msumbul1</dc:creator>
      <dc:date>2017-10-16T19:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Processor failures: how to get the error on the flowfile "failuire" ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Processor-failures-how-to-get-the-error-on-the-flowfile-quot/m-p/221030#M69721</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/141676/processor-failures-how-to-get-the-error-on-the-flo.html#"&gt;@msumbul&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I don't know of any standard error attribute in NiFi. This depends on the processor and usually is not provided.&lt;/P&gt;&lt;P&gt;You can always use UpdateAttribute to add an error type following your needs. If a processor has three possible errors relations, you can have 3 update processors which add an attribute error and populate it with the type of error.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 19:34:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Processor-failures-how-to-get-the-error-on-the-flowfile-quot/m-p/221030#M69721</guid>
      <dc:creator>ahadjidj</dc:creator>
      <dc:date>2017-10-16T19:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Processor failures: how to get the error on the flowfile "failuire" ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Processor-failures-how-to-get-the-error-on-the-flowfile-quot/m-p/221031#M69722</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/2056/ahadjidj.html" nodeid="2056"&gt;@Abdelkrim Hadjidj&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply, my objective is to get the error message which can be many thing, hostnotfound, parsing error, connection refuse, etc for the same failure relationship.&lt;/P&gt;&lt;P&gt;Michel&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 19:50:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Processor-failures-how-to-get-the-error-on-the-flowfile-quot/m-p/221031#M69722</guid>
      <dc:creator>msumbul1</dc:creator>
      <dc:date>2017-10-16T19:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Processor failures: how to get the error on the flowfile "failuire" ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Processor-failures-how-to-get-the-error-on-the-flowfile-quot/m-p/221032#M69723</link>
      <description>&lt;P&gt;The solution is used the "SiteToSiteBulletinReportingTask" in the reporting task. &lt;/P&gt;&lt;P&gt;It can send all the bulletin to a nifi instance. It can be the same instance the nifi that generate it. It will send it to a specific input port in json, then you will be able to process it. It has all the attributed needed:&lt;/P&gt;&lt;P&gt;Here an example&lt;/P&gt;&lt;PRE&gt;[{"objectId":"9c8e75e6-eb5a-4a52-9d4a-a3d3b7f0c80f",
"platform":"nifi",
"bulletinId":305,
"bulletinCategory":"Log Message",
"bulletinGroupId":"24a8726b-015f-1000-ffff-ffffae66ea1c",
"bulletinLevel":"ERROR",
"bulletinMessage":"PutHDFS[id=24b463f8-015f-1000-ffff-ffffd09bd856] PutHDFS[id=24b463f8-015f-1000-ffff-ffffd09bd856] failed to invoke @OnScheduled method due to java.lang.RuntimeException: Failed while executing one of processor's OnScheduled task.; processor will not be scheduled to run for 30 seconds: java.lang.RuntimeException: Failed while executing one of processor's OnScheduled task.",
"bulletinNodeId":"ede4721c-30fe-4879-b22e-20bfe602c615",
"bulletinSourceId":"24b463f8-015f-1000-ffff-ffffd09bd856",
"bulletinSourceName":"PutHDFS",
"bulletinSourceType":"PROCESSOR",
"bulletinTimestamp":"2017-10-17T08:16:48.945Z"},&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Oct 2017 19:17:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Processor-failures-how-to-get-the-error-on-the-flowfile-quot/m-p/221032#M69723</guid>
      <dc:creator>msumbul1</dc:creator>
      <dc:date>2017-10-17T19:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Processor failures: how to get the error on the flowfile "failuire" ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Processor-failures-how-to-get-the-error-on-the-flowfile-quot/m-p/221033#M69724</link>
      <description>&lt;P&gt;Looking for this info also. Sorry to bump the the thread, but any news on this wish?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 20:01:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Processor-failures-how-to-get-the-error-on-the-flowfile-quot/m-p/221033#M69724</guid>
      <dc:creator>henrikolsen</dc:creator>
      <dc:date>2018-12-03T20:01:13Z</dc:date>
    </item>
  </channel>
</rss>

