<?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: Ambari Pig View not working in HDP 2.5 multi-node install in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Pig-View-not-working-in-HDP-2-5-multi-node-install/m-p/138612#M101241</link>
    <description>&lt;P&gt;I will test this and report back tomorrow&lt;/P&gt;</description>
    <pubDate>Tue, 06 Dec 2016 11:07:55 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-12-06T11:07:55Z</dc:date>
    <item>
      <title>Ambari Pig View not working in HDP 2.5 multi-node install</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Pig-View-not-working-in-HDP-2-5-multi-node-install/m-p/138610#M101239</link>
      <description>&lt;P&gt;In HDP 2.5 (Ambari 2.4.2) the Pig View is not working in a multi-node install.&lt;/P&gt;&lt;P&gt;It works ok in the Sandbox install (single node) but fails in a multiple node installation. I have followed all the steps (proxy settings) in the Ambari Views Guide for this and previous versions, and the settings in the Pig view configuration are the same working for the Sandbox. The Pig View loads without errors but will give error when you try to run any script.&lt;/P&gt;&lt;P&gt;It always returns an error  "Job failed to start" and the "Stack Trace" show something like:&lt;/P&gt;&lt;PRE&gt;java.net.SocketTimeoutException: Read timed out&lt;/PRE&gt;&lt;P&gt;What is more strange is that if I go to the History tab, the job appears with an error status SUBMIT_FAILED, but there is no error in the Logs and if I click in the Date link I will get the results of the job as if it had completed succesfully!!&lt;/P&gt;&lt;P&gt;Also using Pig from command line on the same Ambari server works perfectly.&lt;/P&gt;&lt;P&gt;Does anybody knows how to fix this to be able to use the Pig View without these errors!?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2016 11:02:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Pig-View-not-working-in-HDP-2-5-multi-node-install/m-p/138610#M101239</guid>
      <dc:creator>lvazquez</dc:creator>
      <dc:date>2016-12-06T11:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Pig View not working in HDP 2.5 multi-node install</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Pig-View-not-working-in-HDP-2-5-multi-node-install/m-p/138611#M101240</link>
      <description>&lt;P&gt;Just to give more information, the Pig script I'm using to test is basic load/dump example from the Beguinners Guide, like this:&lt;/P&gt;&lt;PRE&gt;truck_events = LOAD '/tmp/truck_event_text_partition.csv' USING PigStorage(',') 
   AS (driverId:int, truckId:int, eventTime:chararray,
  eventType:chararray, longitude:double, latitude:double,
  eventKey:chararray, correlationId:long, driverName:chararray,
  routeId:long,routeName:chararray,eventDate:chararray);
truck_events_subset = LIMIT truck_events 10;
DUMP truck_events_subset;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Dec 2016 11:06:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Pig-View-not-working-in-HDP-2-5-multi-node-install/m-p/138611#M101240</guid>
      <dc:creator>lvazquez</dc:creator>
      <dc:date>2016-12-06T11:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Pig View not working in HDP 2.5 multi-node install</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Pig-View-not-working-in-HDP-2-5-multi-node-install/m-p/138612#M101241</link>
      <description>&lt;P&gt;I will test this and report back tomorrow&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2016 11:07:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Pig-View-not-working-in-HDP-2-5-multi-node-install/m-p/138612#M101241</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-12-06T11:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Pig View not working in HDP 2.5 multi-node install</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Pig-View-not-working-in-HDP-2-5-multi-node-install/m-p/138613#M101242</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/14683/lvazquez.html"&gt;Luis Vazquez&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As you are getting the "&lt;EM&gt;SocketTimeoutException: Read timed out&lt;/EM&gt;" so will it be possible to try increasing the following properly value to bit larger in your "&lt;STRONG&gt;/etc/ambari-server/conf/ambari.properties&lt;/STRONG&gt;" file to see if we are providing the enough read timeout.  Sometimes some queries might take some time to execute.&lt;/P&gt;&lt;PRE&gt;views.ambari.request.read.timeout.millis=60000
&lt;/PRE&gt;&lt;P&gt;- A restart of ambari server will be required after making this change.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2016 12:16:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Pig-View-not-working-in-HDP-2-5-multi-node-install/m-p/138613#M101242</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-12-06T12:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Pig View not working in HDP 2.5 multi-node install</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Pig-View-not-working-in-HDP-2-5-multi-node-install/m-p/138614#M101243</link>
      <description>&lt;P&gt;@jss Thank you very much for your answer and suggestions.I guessed that was the deal, but I've tried this and the same problem persist. These are the changes I've made to the view timeout parameters:&lt;/P&gt;&lt;PRE&gt;-views.ambari.request.connect.timeout.millis=30000
-views.ambari.request.read.timeout.millis=45000
+views.ambari.request.connect.timeout.millis=60000
+views.ambari.request.read.timeout.millis=90000
...
-views.request.connect.timeout.millis=5000
-views.request.read.timeout.millis=10000
+views.request.connect.timeout.millis=10000
+views.request.read.timeout.millis=20000

&lt;/PRE&gt;&lt;P&gt;But nothing changes and the same SUBMIT_FAILED error happens when I run any script &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2016 20:11:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Pig-View-not-working-in-HDP-2-5-multi-node-install/m-p/138614#M101243</guid>
      <dc:creator>lvazquez</dc:creator>
      <dc:date>2016-12-06T20:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Pig View not working in HDP 2.5 multi-node install</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Pig-View-not-working-in-HDP-2-5-multi-node-install/m-p/138615#M101244</link>
      <description>&lt;P&gt;Something new I've noted after several tries is that even when I always get the error, sometimes the results are show correctly if I go to the execution details and sometimes they are empty.

I'm including some screenshots to illustrate the situation.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Script exec error:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10098-pig-view-error-01.png" style="width: 1024px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21901i48E7CB40A3171069/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10098-pig-view-error-01.png" alt="10098-pig-view-error-01.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Stack trace:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10099-pig-view-error-02.png" style="width: 1024px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21902i38D69173BA763796/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10099-pig-view-error-02.png" alt="10099-pig-view-error-02.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;History job error:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10100-pig-view-error-03.png" style="width: 1024px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21903iD582819497AFEC95/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10100-pig-view-error-03.png" alt="10100-pig-view-error-03.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Job details: script results are OK (this happens only sometimes)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10112-pig-view-error-04.png" style="width: 1024px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21904i2D151237A59F040B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10112-pig-view-error-04.png" alt="10112-pig-view-error-04.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 08:36:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Pig-View-not-working-in-HDP-2-5-multi-node-install/m-p/138615#M101244</guid>
      <dc:creator>lvazquez</dc:creator>
      <dc:date>2019-08-19T08:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Pig View not working in HDP 2.5 multi-node install</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Pig-View-not-working-in-HDP-2-5-multi-node-install/m-p/138616#M101245</link>
      <description>&lt;P&gt;Any news on this?&lt;/P&gt;</description>
      <pubDate>Sun, 11 Dec 2016 02:50:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Pig-View-not-working-in-HDP-2-5-multi-node-install/m-p/138616#M101245</guid>
      <dc:creator>lvazquez</dc:creator>
      <dc:date>2016-12-11T02:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Pig View not working in HDP 2.5 multi-node install</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Pig-View-not-working-in-HDP-2-5-multi-node-install/m-p/138617#M101246</link>
      <description>&lt;P&gt;It seems I have finally fixed this: it was really a timeout problem and the higher values I had set were not enough.&lt;/P&gt;&lt;P&gt;I increased views.request.read.timeout  to 40 seconds:&lt;/P&gt;&lt;PRE&gt; views.request.read.timeout.millis = 40000 &lt;/PRE&gt;&lt;P&gt;and now it's allways working (until now). &lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 09:44:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Pig-View-not-working-in-HDP-2-5-multi-node-install/m-p/138617#M101246</guid>
      <dc:creator>lvazquez</dc:creator>
      <dc:date>2016-12-12T09:44:08Z</dc:date>
    </item>
  </channel>
</rss>

