<?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 Like Example.jar is there any sample pig scripts available with HDP? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Like-Example-jar-is-there-any-sample-pig-scripts-available/m-p/150131#M48688</link>
    <description>&lt;P&gt;Like Example.jar is there any sample pig scripts available with HDP?&lt;/P&gt;</description>
    <pubDate>Tue, 13 Dec 2016 12:50:15 GMT</pubDate>
    <dc:creator>Yukti</dc:creator>
    <dc:date>2016-12-13T12:50:15Z</dc:date>
    <item>
      <title>Like Example.jar is there any sample pig scripts available with HDP?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Like-Example-jar-is-there-any-sample-pig-scripts-available/m-p/150131#M48688</link>
      <description>&lt;P&gt;Like Example.jar is there any sample pig scripts available with HDP?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 12:50:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Like-Example-jar-is-there-any-sample-pig-scripts-available/m-p/150131#M48688</guid>
      <dc:creator>Yukti</dc:creator>
      <dc:date>2016-12-13T12:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Like Example.jar is there any sample pig scripts available with HDP?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Like-Example-jar-is-there-any-sample-pig-scripts-available/m-p/150132#M48689</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12568/yukagr19.html" nodeid="12568"&gt;@Yukti Agrawal&lt;/A&gt; , the answer is no. But if you have HUE installed in your cluster, you should see some scripts. Check under this folder &lt;STRONG&gt;/usr/lib/hue/apps/oozie/examples. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Or do simply run locate command to search it.&lt;/P&gt;&lt;P&gt;I would recommend to create a simple script if you just want to test pig. Store a sample csv in HDFS and load that file in Pig:&lt;/P&gt;&lt;PRE&gt;A = LOAD '/the/path/in/HDFS/sample.csv' USING PigStorage(',') AS (driverId:int, truckId:int, driverName:chararray);

some_columns = FOREACH A GENERATE driverId,driverName;

STORE some_columns into 'output/some_columns' using PigStorage(',');&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Dec 2016 13:07:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Like-Example-jar-is-there-any-sample-pig-scripts-available/m-p/150132#M48689</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-12-13T13:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Like Example.jar is there any sample pig scripts available with HDP?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Like-Example-jar-is-there-any-sample-pig-scripts-available/m-p/150133#M48690</link>
      <description>&lt;P&gt;Unfortunately we dont have HUE in our cluster.
Also locate command is not working in my client's env.
I will try this script, hoping it will help.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 15:29:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Like-Example-jar-is-there-any-sample-pig-scripts-available/m-p/150133#M48690</guid>
      <dc:creator>Yukti</dc:creator>
      <dc:date>2016-12-13T15:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Like Example.jar is there any sample pig scripts available with HDP?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Like-Example-jar-is-there-any-sample-pig-scripts-available/m-p/150134#M48691</link>
      <description>&lt;P&gt;HWX has pig tuturial with come with data and script.  I recommend you try this&lt;/P&gt;&lt;P&gt;&lt;A href="http://hortonworks.com/hadoop-tutorial/how-to-process-data-with-apache-pig/" target="_blank"&gt;http://hortonworks.com/hadoop-tutorial/how-to-process-data-with-apache-pig/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 23:54:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Like-Example-jar-is-there-any-sample-pig-scripts-available/m-p/150134#M48691</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2016-12-13T23:54:23Z</dc:date>
    </item>
  </channel>
</rss>

