The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

Hue Forum

Hue Pig Job stays in 0%

  • #50211
    Rodulfo
    Participant

    Hello

    I installed a single node in AWS EC2 with Ambari and everything seems to work fine. Im using Hortonworks HUE 2.3.0 to run a Pig script but the job doesnt seem advance since it stays in 0%. If I check the sintax the job complets succesfully. I checked the Hue logs and I get no errors. I checked Hdp and I dont see anything wierd eithr. The container log shows the following:


    2014-03-17 12:06:16,869 INFO [IPC Server handler 9 on 57646] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Ping from attempt_1395067113856_0012_m_000000_0
    2014-03-17 12:06:19,905 INFO [IPC Server handler 12 on 57646] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Status update from attempt_1395067113856_0012_m_000000_0
    2014-03-17 12:06:19,905 INFO [IPC Server handler 12 on 57646] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Progress of TaskAttempt attempt_1395067113856_0012_m_000000_0 is : 0.0

    and this goes on and on…

    Any idea why my job is never finishing?

    Thanks in advance

  • Author
    Replies
  • #50316
    Dave
    Moderator

    Hi Rodulfo,

    Can you share your pig script here?
    I was seeing issues using the following:

    a = LOAD ‘stocks’ using org.apache.hcatalog.pig.HCatLoader();
    b = filter a by stock_symbol == ‘IBM’;
    c = group b all;
    d = foreach c generate AVG(b.stock_volume);
    dump d;

    If I don’t have the dump d; at the end then it runs fine.

    I’m just interested if you are seeing the same?

    Have you tested this in the grunt shell – as my pig scripts have no issues there but in Hue it seems to have some issue.

    Thanks

    Dave

    #50340
    Rodulfo
    Participant

    Hi Dave I solve the issue. I tracked it down and it was a matter of memory. I used your tutorial: “Manually Calculate YARN and MapReduce Memory Configuration Settings” to solve it and for the moment works fine.

    http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.8.0/bk_installing_manually_book/content/rpm-chap1-11.html

    Thanks for the help anyways.
    Rodulfo

The topic ‘Hue Pig Job stays in 0%’ is closed to new replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.