<?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: NiFi processor putHiveStreaming exception. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-processor-putHiveStreaming-exception/m-p/119955#M47124</link>
    <description>&lt;P&gt;(Assuming you are running nifi locally and putting to the sandbox)&lt;/P&gt;&lt;P&gt;I had the same issue when putting anything to the sandbox (PutHiveStreaming, PutHDFS -- for PutHDFS NiFi began writing the file but would immediate suffer broken pipe, leaving 0 byte files in HDFS). &lt;/P&gt;&lt;P&gt; I solved this by following Simon Ball's article &lt;A href="http://www.simonellistonball.com/technology/nifi-sandbox-hdfs-hdp/"&gt;http://www.simonellistonball.com/technology/nifi-sandbox-hdfs-hdp/&lt;/A&gt; which simplifies communicating with the vm by using remote processor groups on each side.  Very straightfoward and worked the first time.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Nov 2016 06:10:09 GMT</pubDate>
    <dc:creator>gkeys</dc:creator>
    <dc:date>2016-11-24T06:10:09Z</dc:date>
    <item>
      <title>NiFi processor putHiveStreaming exception.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-processor-putHiveStreaming-exception/m-p/119954#M47123</link>
      <description>&lt;P&gt;I am getting following exception while invoking the putHiveStreaming processor.&lt;/P&gt;&lt;P&gt;016-11-23 04:16:43,024 ERROR [Timer-Driven Process Thread-4] o.a.n.processors.hive.PutHiveStreaming PutHiveStreaming[id=8f50a88f-0158-1000-4941-4b83f9b57917] Hive Streaming connect/write error, flow file will be penalized and routed to retry
2016-11-23 04:16:43,025 ERROR [Timer-Driven Process Thread-4] o.a.n.processors.hive.PutHiveStreaming
org.apache.nifi.util.hive.HiveWriter$ConnectFailure: Failed connecting to EndPoint {metaStoreUri='thrift://sandbox.hortonworks.com:9083', database='default', table='store_order', partitionVals=[] }
        at org.apache.nifi.util.hive.HiveWriter.&amp;lt;init&amp;gt;(HiveWriter.java:80) ~[nifi-hive-processors-1.0.0.2.0.0.0-579.jar:1.0.0.2.0.0.0-579]
        at org.apache.nifi.util.hive.HiveUtils.makeHiveWriter(HiveUtils.java:45) ~[nifi-hive-processors-1.0.0.2.0.0.0-579.jar:1.0.0.2.0.0.0-579]
        at org.apache.nifi.processors.hive.PutHiveStreaming.makeHiveWriter(PutHiveStreaming.java:827) ~[nifi-hive-processors-1.0.0.2.0.0.0-579.jar:1.0.0.2.0.0.0-579]
        at org.apache.nifi.processors.hive.PutHiveStreaming.getOrCreateWriter(PutHiveStreaming.java:738) ~[nifi-hive-processors-1.0.0.2.0.0.0-579.jar:1.0.0.2.0.0.0-579]&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 06:01:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-processor-putHiveStreaming-exception/m-p/119954#M47123</guid>
      <dc:creator>mpandit</dc:creator>
      <dc:date>2016-11-24T06:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi processor putHiveStreaming exception.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-processor-putHiveStreaming-exception/m-p/119955#M47124</link>
      <description>&lt;P&gt;(Assuming you are running nifi locally and putting to the sandbox)&lt;/P&gt;&lt;P&gt;I had the same issue when putting anything to the sandbox (PutHiveStreaming, PutHDFS -- for PutHDFS NiFi began writing the file but would immediate suffer broken pipe, leaving 0 byte files in HDFS). &lt;/P&gt;&lt;P&gt; I solved this by following Simon Ball's article &lt;A href="http://www.simonellistonball.com/technology/nifi-sandbox-hdfs-hdp/"&gt;http://www.simonellistonball.com/technology/nifi-sandbox-hdfs-hdp/&lt;/A&gt; which simplifies communicating with the vm by using remote processor groups on each side.  Very straightfoward and worked the first time.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 06:10:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-processor-putHiveStreaming-exception/m-p/119955#M47124</guid>
      <dc:creator>gkeys</dc:creator>
      <dc:date>2016-11-24T06:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi processor putHiveStreaming exception.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-processor-putHiveStreaming-exception/m-p/119956#M47125</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11288/gkeys.html" nodeid="11288"&gt;@Greg Keys&lt;/A&gt; NiFi is also running on sandbox. It was issue with my hive table. I see the PutHiveStreaming is successful and the files are getting written successfully. When I select from hive table it doesn't show any data, not sure why?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 11:59:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-processor-putHiveStreaming-exception/m-p/119956#M47125</guid>
      <dc:creator>mpandit</dc:creator>
      <dc:date>2016-11-24T11:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi processor putHiveStreaming exception.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-processor-putHiveStreaming-exception/m-p/119957#M47126</link>
      <description>&lt;P&gt;Not sure if this helps -- just tossing this out there -- but a few things which you probably already know:&lt;/P&gt;&lt;P&gt;From &lt;A href="https://community.hortonworks.com/articles/52856/stream-data-into-hive-like-a-king-using-nifi.html"&gt;https://community.hortonworks.com/articles/52856/stream-data-into-hive-like-a-king-using-nifi.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In order for Hive Streaming to work the following has to be in place:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;Table is stored as ORC&lt;/LI&gt;&lt;LI&gt;Transactional Property is set to “True”&lt;/LI&gt;&lt;LI&gt;The Table is Bucketed&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;When I ran that demo I noticed:&lt;/P&gt;&lt;P&gt;InferAvroSchema processor:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;City,Edition,Sport,sub_sport,Athlete,country,Gender,Event,Event_gender,Medal - produced nulls in the Hive table for columns in caps&lt;/LI&gt;&lt;LI&gt;I made them all lower case and got the values in the Hive table&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Finally ... a recent post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/68068/hive-streamaing.html"&gt;https://community.hortonworks.com/questions/68068/hive-streamaing.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 20:20:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-processor-putHiveStreaming-exception/m-p/119957#M47126</guid>
      <dc:creator>gkeys</dc:creator>
      <dc:date>2016-11-24T20:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi processor putHiveStreaming exception.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-processor-putHiveStreaming-exception/m-p/119958#M47127</link>
      <description>&lt;P&gt;I was running into the issue &lt;A href="https://issues.apache.org/jira/browse/NIFI-2828"&gt;NIFI-2828&lt;/A&gt;. I ended up using Hive NAR provided by &lt;A rel="user" href="https://community.cloudera.com/users/641/mburgess.html" nodeid="641"&gt;@Matt Burgess&lt;/A&gt; as mentioned here &lt;A href="https://community.hortonworks.com/questions/59681/puthivestreaming-nifi-processor-various-errors.html" target="_blank"&gt;https://community.hortonworks.com/questions/59681/puthivestreaming-nifi-processor-various-errors.html&lt;/A&gt;. It must have been already fixed with latest NiFi version.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Dec 2016 06:06:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-processor-putHiveStreaming-exception/m-p/119958#M47127</guid>
      <dc:creator>mpandit</dc:creator>
      <dc:date>2016-12-17T06:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi processor putHiveStreaming exception.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-processor-putHiveStreaming-exception/m-p/119959#M47128</link>
      <description>&lt;P&gt;In HDP 3.0, please use PutHive3Streaming, PutHive3QL and SelectHiveQL.&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 23:33:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-processor-putHiveStreaming-exception/m-p/119959#M47128</guid>
      <dc:creator>mustafa_qizilba</dc:creator>
      <dc:date>2018-08-21T23:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi processor putHiveStreaming exception.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-processor-putHiveStreaming-exception/m-p/119960#M47129</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11288/gkeys.html" nodeid="11288"&gt;@Greg Keys&lt;/A&gt;, The solution you provided for the table definition and file format worked for me? But any insights why we need to have it as part of the data load?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 23:00:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-processor-putHiveStreaming-exception/m-p/119960#M47129</guid>
      <dc:creator>alpeshghori</dc:creator>
      <dc:date>2018-09-05T23:00:08Z</dc:date>
    </item>
  </channel>
</rss>

