<?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: Running Pig scripts from HUE editor - Job gets killed in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-Pig-scripts-from-HUE-editor-Job-gets-killed/m-p/64584#M74362</link>
    <description>&lt;P&gt;Just quick info you can run pig in local mode as well as in mapreduce mode ,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;By default, load looks for your data on HDFS in a tab-delimited file using the default load function PigStorage.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;also if you start you pig -x which local mode it will look for local fs .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Nice that you found the fix.&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/25887"&gt;@SGeorge&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Feb 2018 05:31:30 GMT</pubDate>
    <dc:creator>csguna</dc:creator>
    <dc:date>2018-02-14T05:31:30Z</dc:date>
    <item>
      <title>Running Pig scripts from HUE editor - Job gets killed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-Pig-scripts-from-HUE-editor-Job-gets-killed/m-p/64420#M74356</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am new to hdfs/pig and need quick help. I just installed the cloudera quickstart VM using VMWare.&lt;/P&gt;
&lt;P&gt;On running this script(the upper text sample) -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;data = LOAD '/home/cloudera/midsummer.txt' as (text:CHARARRAY);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;upper_case = FOREACH data GENERATE org.apache.pig.piggybank.evaluation.string.UPPER(text);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;STORE upper_case INTO '/home/cloudera/midsummer2.txt';&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It takes 3 to 4 minutes and runs the map part and does not do the reduce. I see the following error on the job workflow page:-&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Cannot access: /user/hue/oozie/workspaces/hue-oozie-1452553957.19/${wf:appPath()}/pig-b118.pig/. Note: you are a Hue admin but not a HDFS superuser, "hdfs" or part of HDFS supergroup, "supergroup".&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;InvalidPathException: Invalid path name Invalid file name: /user/hue/oozie/workspaces/hue-oozie-1452553957.19/${wf:appPath()}/pig-b118.pig (error 400)&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I logged on to Hue using the cloudera user and on seeing this error also gave hadoop group to cloudera as well. From Oozie I see the error -&amp;nbsp;&lt;EM&gt;JA0189 - Main class [org.apache.oozie.action.hadoop.PigMain], exit code [2]&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your help will be appreciated.&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Santhosh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 13:44:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-Pig-scripts-from-HUE-editor-Job-gets-killed/m-p/64420#M74356</guid>
      <dc:creator>SGeorge</dc:creator>
      <dc:date>2026-04-21T13:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Running Pig scripts from HUE editor - Job gets killed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-Pig-scripts-from-HUE-editor-Job-gets-killed/m-p/64423#M74357</link>
      <description>&lt;P&gt;We would like to consider cloudera for development and ultimate commercial use if I can get over these initial hurdles. Just to add - I just want to run a simple pig script using the HUE editor on a newly installed cloudera quickstart VM.&lt;/P&gt;&lt;P&gt;- Should I login into HUE as cloudera?&lt;/P&gt;&lt;P&gt;- Any other additonal configuration or software needs to be upgraded?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 17:09:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-Pig-scripts-from-HUE-editor-Job-gets-killed/m-p/64423#M74357</guid>
      <dc:creator>SGeorge</dc:creator>
      <dc:date>2018-02-07T17:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Running Pig scripts from HUE editor - Job gets killed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-Pig-scripts-from-HUE-editor-Job-gets-killed/m-p/64436#M74358</link>
      <description>&lt;P&gt;Update:- After some testing with a small data set.&amp;nbsp;The following works (without the STORE clause):-&lt;/P&gt;&lt;P&gt;&lt;EM&gt;data = LOAD '/home/cloudera/smallfile.txt' as (text:CHARARRAY);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;upper_case = FOREACH data GENERATE UPPER(text);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But once we add the STORE or the DUMP clause at the end of the script is when those errors are thrown. It is probably pointing to some permission issues between HUE and HDFS in the "reduce" process I guess.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping the cloudera quick start VM will work out of the box. Calling on the cloudera experts to help!!&lt;/P&gt;&lt;P&gt;Please point me to any knowledge base or workarounds to avoid this problem.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 00:13:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-Pig-scripts-from-HUE-editor-Job-gets-killed/m-p/64436#M74358</guid>
      <dc:creator>SGeorge</dc:creator>
      <dc:date>2018-02-08T00:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Running Pig scripts from HUE editor - Job gets killed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-Pig-scripts-from-HUE-editor-Job-gets-killed/m-p/64536#M74359</link>
      <description>&lt;P&gt;Looks like these cloudera community help requests go into a black hole!!. I was able to find a solution myself. The following script works and was good enough for this trail. It appears that specifiying the directory paths in the pig script was the problem. I put all the scripts in my local directory and also told pig/hadoop to create to create the output directory under the current working directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;data = LOAD 'midsummer.txt' as (text:CHARARRAY);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;upper_case = FOREACH data GENERATE UPPER(text);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;STORE upper_case INTO 'midsummerOutput';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 15:51:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-Pig-scripts-from-HUE-editor-Job-gets-killed/m-p/64536#M74359</guid>
      <dc:creator>SGeorge</dc:creator>
      <dc:date>2018-02-12T15:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Running Pig scripts from HUE editor - Job gets killed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-Pig-scripts-from-HUE-editor-Job-gets-killed/m-p/64538#M74360</link>
      <description>&lt;P&gt;I should have used the following code. This specifies the correct directory that Hadoop understands.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data = LOAD '/user/cloudera/midsummer.txt' as (text:CHARARRAY);&lt;BR /&gt;upper_case = FOREACH data GENERATE UPPER(text);&lt;BR /&gt;STORE upper_case INTO '/user/cloudera/midsummerOutput2';&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 16:24:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-Pig-scripts-from-HUE-editor-Job-gets-killed/m-p/64538#M74360</guid>
      <dc:creator>SGeorge</dc:creator>
      <dc:date>2018-02-12T16:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Running Pig scripts from HUE editor - Job gets killed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-Pig-scripts-from-HUE-editor-Job-gets-killed/m-p/64546#M74361</link>
      <description>&lt;P&gt;Congratulations on solving your issue&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/25887"&gt;@SGeorge&lt;/a&gt;. Also, rest assured, your posts on the community do not enter a black hole from which there is no return. The community is &lt;A href="https://community.cloudera.com/t5/custom/page/page-id/Community_Guidelines" target="_blank"&gt;peer to peer based forum&lt;/A&gt;&amp;nbsp;so there are cases where questions go unanswered or take some time to receive a reply.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 21:46:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-Pig-scripts-from-HUE-editor-Job-gets-killed/m-p/64546#M74361</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2018-02-12T21:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Running Pig scripts from HUE editor - Job gets killed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-Pig-scripts-from-HUE-editor-Job-gets-killed/m-p/64584#M74362</link>
      <description>&lt;P&gt;Just quick info you can run pig in local mode as well as in mapreduce mode ,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;By default, load looks for your data on HDFS in a tab-delimited file using the default load function PigStorage.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;also if you start you pig -x which local mode it will look for local fs .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Nice that you found the fix.&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/25887"&gt;@SGeorge&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 05:31:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-Pig-scripts-from-HUE-editor-Job-gets-killed/m-p/64584#M74362</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2018-02-14T05:31:30Z</dc:date>
    </item>
  </channel>
</rss>

