<?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: piggybank jar file does not exist in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/piggybank-jar-file-does-not-exist/m-p/136273#M23360</link>
    <description>&lt;P&gt;HDP installs are placed in /usr/hdp/version, so in case you are on HDP, look for /usr/hdp on your local filesystem not in HDFS. Then in Ambari, make sure you have pig client installed on the machines you're on. Look for that jar in the directory I specified earlier. &lt;A rel="user" href="https://community.cloudera.com/users/3567/maeveryan226.html" nodeid="3567"&gt;@Maeve Ryan&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Mar 2016 19:24:12 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-03-21T19:24:12Z</dc:date>
    <item>
      <title>piggybank jar file does not exist</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/piggybank-jar-file-does-not-exist/m-p/136269#M23356</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am new to Sandbox and am trying to run Pig on Microsoft Azure. &lt;/P&gt;&lt;P&gt;To load one of my tables, I need to use the piggybank jar. I have downloaded this and saved it to hdfs in the path tmp/stackexchange&lt;/P&gt;&lt;P&gt;Here is the code I am trying to run:&lt;/P&gt;&lt;PRE&gt;REGISTER /tmp/stackexchange/piggybank.jarRAW_LOGS1 = LOAD &amp;#24;Query_1-50000.csv&amp;#25; USING org.apache.pig.piggybank.storage.CSVExcelStorage(',', &amp;#24;YES_MULTILINE&amp;#25;) as (Id:Long, PostTypeID:chararray, AcceptedAnswerID:chararray, ParentID:chararray, CreationDate:chararray, DeletionDate:chararray,  Score:long, ViewCount:long, Body:chararray, OwnerUserID:chararray, OwnerDisplayName:chararray, LastEditorUserId:chararray, LastEditorDisplayName:chararray, LastEditDate:chararray, LastActivityDate:chararray, Title:chararray, Tags:chararray, AnswerCount:int, CommentCount:int, FavoriteCount:int, ClosedDate:chararray, CommunityOwnedDate:chararray);&lt;/PRE&gt;&lt;P&gt;However, I am being returned the error message:&lt;/P&gt;&lt;PRE&gt;2016-03-20 17:22:48,506 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 101: file '/tmp/stackexchange/piggybank.jar' does not exist.&lt;/PRE&gt;&lt;P&gt;Does anyone know what could be wrong? Am I missing a step required to register the piggybank file perhaps?&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated - thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2016 07:14:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/piggybank-jar-file-does-not-exist/m-p/136269#M23356</guid>
      <dc:creator>maeve_ryan226</dc:creator>
      <dc:date>2016-03-21T07:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: piggybank jar file does not exist</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/piggybank-jar-file-does-not-exist/m-p/136270#M23357</link>
      <description>&lt;P&gt;I had some troubles a while back similar to this as shown at &lt;A href="https://martin.atlassian.net/wiki/x/C4BRAQ" target="_blank"&gt;https://martin.atlassian.net/wiki/x/C4BRAQ&lt;/A&gt;.  Try replacing&lt;/P&gt;&lt;PRE&gt;REGISTER /tmp/stackexchange/piggybank.jar&lt;/PRE&gt;&lt;P&gt;with&lt;/P&gt;&lt;PRE&gt;REGISTER 'hdfs:///tmp/stackexchange/piggybank.jar'&lt;/PRE&gt;&lt;P&gt;and let us know if that works.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2016 08:00:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/piggybank-jar-file-does-not-exist/m-p/136270#M23357</guid>
      <dc:creator>LesterMartin</dc:creator>
      <dc:date>2016-03-21T08:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: piggybank jar file does not exist</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/piggybank-jar-file-does-not-exist/m-p/136271#M23358</link>
      <description>&lt;P&gt;As long as you use HDP and you have pig client installed on your edgenode, you can find piggybank jar in /usr/hdp/current/pig-client/lib/piggybank.jar. you dont need to download it separately or upload it to hdfs.&lt;/P&gt;&lt;P&gt;Please see this for example &lt;A href="https://community.hortonworks.com/questions/20487/store-output-file-as-3-files-using-pig.html" target="_blank"&gt;https://community.hortonworks.com/questions/20487/store-output-file-as-3-files-using-pig.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2016 08:09:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/piggybank-jar-file-does-not-exist/m-p/136271#M23358</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-21T08:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: piggybank jar file does not exist</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/piggybank-jar-file-does-not-exist/m-p/136272#M23359</link>
      <description>&lt;P&gt;Hi Artem - thanks for the response. Can you please explain "&lt;/P&gt;&lt;P&gt;As long as you use HDP and you have pig client installed on your edgenode"? - Is this something additional I need to do/install?&lt;/P&gt;&lt;P&gt;I cannot locate the folder "/usr" on hdfs.&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Maeve&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2016 18:14:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/piggybank-jar-file-does-not-exist/m-p/136272#M23359</guid>
      <dc:creator>maeve_ryan226</dc:creator>
      <dc:date>2016-03-21T18:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: piggybank jar file does not exist</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/piggybank-jar-file-does-not-exist/m-p/136273#M23360</link>
      <description>&lt;P&gt;HDP installs are placed in /usr/hdp/version, so in case you are on HDP, look for /usr/hdp on your local filesystem not in HDFS. Then in Ambari, make sure you have pig client installed on the machines you're on. Look for that jar in the directory I specified earlier. &lt;A rel="user" href="https://community.cloudera.com/users/3567/maeveryan226.html" nodeid="3567"&gt;@Maeve Ryan&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2016 19:24:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/piggybank-jar-file-does-not-exist/m-p/136273#M23360</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-21T19:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: piggybank jar file does not exist</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/piggybank-jar-file-does-not-exist/m-p/136274#M23361</link>
      <description>&lt;P&gt;Brilliant - that works. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2016 01:16:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/piggybank-jar-file-does-not-exist/m-p/136274#M23361</guid>
      <dc:creator>maeve_ryan226</dc:creator>
      <dc:date>2016-03-22T01:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: piggybank jar file does not exist</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/piggybank-jar-file-does-not-exist/m-p/136275#M23362</link>
      <description>&lt;P&gt;Ah - understood now. This worked! Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2016 02:04:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/piggybank-jar-file-does-not-exist/m-p/136275#M23362</guid>
      <dc:creator>maeve_ryan226</dc:creator>
      <dc:date>2016-03-22T02:04:22Z</dc:date>
    </item>
  </channel>
</rss>

