<?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: I am facing problem in pig mapreduce, i have inatalled pig -0.16.0 and hadoop-1.2.1 but during starting pig -x mapreduce , following error occurs , please suggest me what is wrong. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-facing-problem-in-pig-mapreduce-i-have-inatalled-pig-0/m-p/110486#M33748</link>
    <description>&lt;P&gt;thank you Gautam..:) I got it.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jul 2016 00:08:52 GMT</pubDate>
    <dc:creator>sharda_godara_2</dc:creator>
    <dc:date>2016-07-04T00:08:52Z</dc:date>
    <item>
      <title>I am facing problem in pig mapreduce, i have inatalled pig -0.16.0 and hadoop-1.2.1 but during starting pig -x mapreduce , following error occurs , please suggest me what is wrong.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-facing-problem-in-pig-mapreduce-i-have-inatalled-pig-0/m-p/110484#M33746</link>
      <description>&lt;P&gt;hduser@atl-Latitude-E6410:~$ cd /usr/lib/pig/pig-0.16.0/
hduser@atl-Latitude-E6410:/usr/lib/pig/pig-0.16.0$ bin/pig -x mapreduce
16/07/03 16:07:37 INFO pig.ExecTypeProvider: Trying ExecType : LOCAL
16/07/03 16:07:37 INFO pig.ExecTypeProvider: Trying ExecType : MAPREDUCE
16/07/03 16:07:37 INFO pig.ExecTypeProvider: Picked MAPREDUCE as the ExecType
16/07/03 16:07:37 WARN pig.Main: Cannot write to log file: /usr/lib/pig/pig-0.16.0/pig_1467542257885.log
2016-07-03 16:07:37,890 [main] INFO  org.apache.pig.Main - Apache Pig version 0.16.0 (r1746530) compiled Jun 01 2016, 23:09:59
2016-07-03 16:07:37,950 [main] INFO  org.apache.pig.impl.util.Utils - Default bootup file /home/hduser/.pigbootup not found
2016-07-03 16:07:38,089 [main] ERROR org.apache.pig.Main - ERROR 4010: Cannot find hadoop configurations in classpath (neither hadoop-site.xml nor core-site.xml was found in the classpath). If you plan to use local mode, please put -x local option in command line
2016-07-03 16:07:38,090 [main] WARN  org.apache.pig.Main - There is no log file to write to.
2016-07-03 16:07:38,090 [main] ERROR org.apache.pig.Main - org.apache.pig.backend.executionengine.ExecException: ERROR 4010: Cannot find hadoop configurations in classpath (neither hadoop-site.xml nor core-site.xml was found in the classpath). If you plan to use local mode, please put -x local option in command line
   at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.getExecConf(HExecutionEngine.java:158)
   at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:195)
   at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:112)
   at org.apache.pig.impl.PigContext.connect(PigContext.java:305)
   at org.apache.pig.PigServer.&amp;lt;init&amp;gt;(PigServer.java:231)
   at org.apache.pig.PigServer.&amp;lt;init&amp;gt;(PigServer.java:219)
   at org.apache.pig.tools.grunt.Grunt.&amp;lt;init&amp;gt;(Grunt.java:46)
   at org.apache.pig.Main.run(Main.java:561)
   at org.apache.pig.Main.main(Main.java:176)&lt;/P&gt;&lt;P&gt;2016-07-03 16:07:38,175 [main] INFO  org.apache.pig.Main - Pig script completed in 614 milliseconds (614 ms)&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jul 2016 17:56:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-facing-problem-in-pig-mapreduce-i-have-inatalled-pig-0/m-p/110484#M33746</guid>
      <dc:creator>sharda_godara_2</dc:creator>
      <dc:date>2016-07-03T17:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: I am facing problem in pig mapreduce, i have inatalled pig -0.16.0 and hadoop-1.2.1 but during starting pig -x mapreduce , following error occurs , please suggest me what is wrong.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-facing-problem-in-pig-mapreduce-i-have-inatalled-pig-0/m-p/110485#M33747</link>
      <description>&lt;P&gt;The problem here is that you are running Pig in MapReduce mode, which requires the necessary hadoop jars set in your classpath.&lt;/P&gt;&lt;P&gt;You have two options over here-&lt;/P&gt;&lt;P&gt;1. Set the Hadoop Classpath by using the below command :- &lt;/P&gt;&lt;P&gt;Assuming you are seting this from the same folder as you are building your code with Maven and have put all your 3rd paty JARs in target/libs...&lt;/P&gt;&lt;P&gt;Command -&amp;gt; export HADOOP_CLASSPATH=./target/classes:./target/libs/*&lt;/P&gt;&lt;P&gt;2. Run in Pig in Local mode - This mode allows you to run in Local mode, you need access to a single machine; all files are installed and run using your local host and local file system.&lt;/P&gt;&lt;P&gt;Command -&amp;gt; pig -x local&lt;/P&gt;&lt;P&gt;Hope this helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jul 2016 18:44:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-facing-problem-in-pig-mapreduce-i-have-inatalled-pig-0/m-p/110485#M33747</guid>
      <dc:creator>gmarya</dc:creator>
      <dc:date>2016-07-03T18:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: I am facing problem in pig mapreduce, i have inatalled pig -0.16.0 and hadoop-1.2.1 but during starting pig -x mapreduce , following error occurs , please suggest me what is wrong.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-facing-problem-in-pig-mapreduce-i-have-inatalled-pig-0/m-p/110486#M33748</link>
      <description>&lt;P&gt;thank you Gautam..:) I got it.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2016 00:08:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-facing-problem-in-pig-mapreduce-i-have-inatalled-pig-0/m-p/110486#M33748</guid>
      <dc:creator>sharda_godara_2</dc:creator>
      <dc:date>2016-07-04T00:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: I am facing problem in pig mapreduce, i have inatalled pig -0.16.0 and hadoop-1.2.1 but during starting pig -x mapreduce , following error occurs , please suggest me what is wrong.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-facing-problem-in-pig-mapreduce-i-have-inatalled-pig-0/m-p/110487#M33749</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11598/shardagodara23.html" nodeid="11598"&gt;@sharda godara&lt;/A&gt; - Kindly accept the answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2016 12:21:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-facing-problem-in-pig-mapreduce-i-have-inatalled-pig-0/m-p/110487#M33749</guid>
      <dc:creator>gmarya</dc:creator>
      <dc:date>2016-07-04T12:21:39Z</dc:date>
    </item>
  </channel>
</rss>

