<?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 Lab 3 - Pig Risk Factor Analysis: Application remains in running status in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lab-3-Pig-Risk-Factor-Analysis-Application-remains-in/m-p/150820#M20376</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you help me to run a pig script with successful status.&lt;/P&gt;&lt;P&gt;As mentioned in the Lab 3 exercise, geolocation table was created in hive and the pig script was created with only load transformation.&lt;/P&gt;&lt;P&gt;a = LOAD 'geolocation' using org.apache.hive.hcatalog.pig.HCatLoader();&lt;/P&gt;&lt;P&gt;DUMP a LIMIT 1;&lt;/P&gt;&lt;P&gt;Tried executing the script(not on Tez) arguments with -useHCatalog.&lt;/P&gt;&lt;P&gt;In the ResourceManagerUI the status show succeeded with Cantainers allocated 2.
But, in the PIGUI the status is still RUNNING. It neither errors or return a result tab.&lt;/P&gt;&lt;P&gt;What might be the issue? How to check if the metadata exist in HCatalog? 
WebHCat server is in started status. Where should I look for Heap memory?&lt;/P&gt;&lt;P&gt;Thanks In advance for the support.&lt;/P&gt;&lt;P&gt; &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/2294-hive.png"&gt;hive.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/2295-service.png"&gt;service.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/2296-pig-script.png"&gt;pig-script.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/2297-pig-status.png"&gt;pig-status.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/2298-resourcemanagerui.png"&gt;resourcemanagerui.png&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 20 Feb 2016 20:36:16 GMT</pubDate>
    <dc:creator>Eukrev</dc:creator>
    <dc:date>2016-02-20T20:36:16Z</dc:date>
    <item>
      <title>Lab 3 - Pig Risk Factor Analysis: Application remains in running status</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lab-3-Pig-Risk-Factor-Analysis-Application-remains-in/m-p/150820#M20376</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you help me to run a pig script with successful status.&lt;/P&gt;&lt;P&gt;As mentioned in the Lab 3 exercise, geolocation table was created in hive and the pig script was created with only load transformation.&lt;/P&gt;&lt;P&gt;a = LOAD 'geolocation' using org.apache.hive.hcatalog.pig.HCatLoader();&lt;/P&gt;&lt;P&gt;DUMP a LIMIT 1;&lt;/P&gt;&lt;P&gt;Tried executing the script(not on Tez) arguments with -useHCatalog.&lt;/P&gt;&lt;P&gt;In the ResourceManagerUI the status show succeeded with Cantainers allocated 2.
But, in the PIGUI the status is still RUNNING. It neither errors or return a result tab.&lt;/P&gt;&lt;P&gt;What might be the issue? How to check if the metadata exist in HCatalog? 
WebHCat server is in started status. Where should I look for Heap memory?&lt;/P&gt;&lt;P&gt;Thanks In advance for the support.&lt;/P&gt;&lt;P&gt; &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/2294-hive.png"&gt;hive.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/2295-service.png"&gt;service.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/2296-pig-script.png"&gt;pig-script.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/2297-pig-status.png"&gt;pig-status.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/2298-resourcemanagerui.png"&gt;resourcemanagerui.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2016 20:36:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lab-3-Pig-Risk-Factor-Analysis-Application-remains-in/m-p/150820#M20376</guid>
      <dc:creator>Eukrev</dc:creator>
      <dc:date>2016-02-20T20:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Lab 3 - Pig Risk Factor Analysis: Application remains in running status</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lab-3-Pig-Risk-Factor-Analysis-Application-remains-in/m-p/150821#M20377</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2579/revathymurugesan.html" nodeid="2579"&gt;@Revathy Mourouguessane&lt;/A&gt;&lt;P&gt;1) Check MapReduce --&amp;gt; what are those alerts? Make sure that HDFS, Yarn and MapReduce services are up&lt;/P&gt;&lt;P&gt;2) It looks like your pig job did finish but check the pig view log &lt;/P&gt;&lt;P&gt;3)hive.png - You can see geolocation table , thats your hive table&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2016 20:48:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lab-3-Pig-Risk-Factor-Analysis-Application-remains-in/m-p/150821#M20377</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-20T20:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Lab 3 - Pig Risk Factor Analysis: Application remains in running status</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lab-3-Pig-Risk-Factor-Analysis-Application-remains-in/m-p/150822#M20378</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2579/revathymurugesan.html" nodeid="2579" target="_blank"&gt;@Revathy Mourouguessane&lt;/A&gt;  heap memory&lt;/P&gt;&lt;P&gt;You can click HDFS and in filter type heap&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2287-screen-shot-2016-02-20-at-75259-am.png" style="width: 1540px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21210iFBBEE7B067A0FA10/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2287-screen-shot-2016-02-20-at-75259-am.png" alt="2287-screen-shot-2016-02-20-at-75259-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 12:58:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lab-3-Pig-Risk-Factor-Analysis-Application-remains-in/m-p/150822#M20378</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2019-08-18T12:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Lab 3 - Pig Risk Factor Analysis: Application remains in running status</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lab-3-Pig-Risk-Factor-Analysis-Application-remains-in/m-p/150823#M20379</link>
      <description>&lt;P&gt;Make sure mapreduce is up if youre not executing using Tez. It is preferred if you use tez though as it is faster.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2016 21:40:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lab-3-Pig-Risk-Factor-Analysis-Application-remains-in/m-p/150823#M20379</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-20T21:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Lab 3 - Pig Risk Factor Analysis: Application remains in running status</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lab-3-Pig-Risk-Factor-Analysis-Application-remains-in/m-p/150824#M20380</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;I have tried with MapReduce2 and Tez2. The MapReduce2 is set to green.
The heap size is same as in the attachement.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/2300-job-1456016544519-0006-logs.txt"&gt;job-1456016544519-0006-logs.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/2311-job-1456016544519-0007-logs.txt"&gt;job-1456016544519-0007-logs.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It errors with Could not resolve org.apache.hcatalog.pig.HCatLoader. In the arguments -useHCatalog is set.&lt;/P&gt;&lt;P&gt;ERROR org.apache.pig.PigServer - exception during parsing: Error during parsing. Could not resolve org.apache.hcatalog.pig.HCatLoader using imports: [, java.lang., org.apache.pig.builtin., org.apache.pig.impl.builtin.]
Failed to parse: Pig script failed to parse: 
&amp;lt;file script.pig, line 1, column 29&amp;gt; pig script failed to validate: org.apache.pig.backend.executionengine.ExecException: ERROR 1070: Could not resolve org.apache.hcatalog.pig.HCatLoader using imports: [, java.lang., org.apache.pig.builtin., org.apache.pig.impl.builtin.]
at org.apache.pig.parser.QueryParser&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2016 10:19:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lab-3-Pig-Risk-Factor-Analysis-Application-remains-in/m-p/150824#M20380</guid>
      <dc:creator>Eukrev</dc:creator>
      <dc:date>2016-02-21T10:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Lab 3 - Pig Risk Factor Analysis: Application remains in running status</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lab-3-Pig-Risk-Factor-Analysis-Application-remains-in/m-p/150825#M20381</link>
      <description>&lt;P&gt;I tried both and get org.apache.hcatalog.pig.HCatLoader. The arguments of script is set as -useHCatalog. Thanks!!!&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2016 10:20:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lab-3-Pig-Risk-Factor-Analysis-Application-remains-in/m-p/150825#M20381</guid>
      <dc:creator>Eukrev</dc:creator>
      <dc:date>2016-02-21T10:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Lab 3 - Pig Risk Factor Analysis: Application remains in running status</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lab-3-Pig-Risk-Factor-Analysis-Application-remains-in/m-p/150826#M20382</link>
      <description>&lt;P&gt;Package is incorrect its USING org.apache.hive.hcatalog.pig.HCatLoader();&lt;/P&gt;&lt;P&gt;It was fixed in future release of sandbox use tez and make sure to use the HcatLoader I specified.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2016 10:29:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lab-3-Pig-Risk-Factor-Analysis-Application-remains-in/m-p/150826#M20382</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-21T10:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Lab 3 - Pig Risk Factor Analysis: Application remains in running status</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lab-3-Pig-Risk-Factor-Analysis-Application-remains-in/m-p/150827#M20383</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2579/revathymurugesan.html" nodeid="2579"&gt;@Revathy Mourouguessane&lt;/A&gt;  Please see this &lt;/P&gt;&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/31295980/getting-an-error-on-running-hcatalog"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/29990236/flag-usehcatalog-not-working"&gt;http://stackoverflow.com/questions/29990236/flag-usehcatalog-not-working&lt;/A&gt;&lt;/P&gt;&lt;P&gt;See this&lt;/P&gt;&lt;P&gt;I was facing the issue in HDP 2.3 and Pig 0.15 .&lt;/P&gt;&lt;P&gt;Package name for HCatLoader() class is different in Hortonworks distribution.&lt;/P&gt;&lt;P&gt;The following worked for me&lt;/P&gt;&lt;P&gt;USING org.apache.hive.hcatalog.pig.HCatLoader()&lt;/P&gt;&lt;P&gt;instead of USING org.apache.hcatalog.pig.HCatLoader();&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2016 10:55:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lab-3-Pig-Risk-Factor-Analysis-Application-remains-in/m-p/150827#M20383</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-21T10:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Lab 3 - Pig Risk Factor Analysis: Application remains in running status</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lab-3-Pig-Risk-Factor-Analysis-Application-remains-in/m-p/150828#M20384</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;It is working fine now.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2016 15:07:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lab-3-Pig-Risk-Factor-Analysis-Application-remains-in/m-p/150828#M20384</guid>
      <dc:creator>Eukrev</dc:creator>
      <dc:date>2016-02-21T15:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Lab 3 - Pig Risk Factor Analysis: Application remains in running status</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lab-3-Pig-Risk-Factor-Analysis-Application-remains-in/m-p/150829#M20385</link>
      <description>&lt;P&gt;Thanks. Its working fine now.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2016 15:09:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lab-3-Pig-Risk-Factor-Analysis-Application-remains-in/m-p/150829#M20385</guid>
      <dc:creator>Eukrev</dc:creator>
      <dc:date>2016-02-21T15:09:02Z</dc:date>
    </item>
  </channel>
</rss>

