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 2.3.1 Pig Errors

  • #52350
    Rodulfo
    Participant

    I’m testing the new HDP 2.1 Stack and I tested it with HUE 2.3.1
    Component Version
    Hue
    2.3.1-385
    HDP
    2.1.1
    Hadoop
    2.4.0
    Pig
    0.12.1
    Hive-Hcatalog
    0.13.0
    Oozie
    4.0.0
    Ambari
    1.5.1
    HBase
    0.98.0
    Knox
    0.4.0
    Storm
    0.9.1
    Falcon
    0.5.0

    When I run a simple pig script the progress bar runs until the end and then I get the message: “Job job_1398675437000_0009 was failed” but no logs are showed.

    Any idea why Im not getting the logs?

    If I click on the link of the job at:
    “The Job job_1398675437000_0009 has been started successfully.
    You can always go back to Query History for results after the run.”

    I get the following error message:
    “Could not find job job_1398675437000_0009. The job might not be running yet.

    Job job_1398675437000_0009 could not be found: {“RemoteException”:{“exception”:”NotFoundException”,”message”:”java.lang.Exception: job, job_1398675437000_0009, is not found”,”javaClassName”:”org.apache.hadoop.yarn.webapp.NotFoundException”}} (error 404)”

    The HUE logs show:
    “[28/Apr/2014 02:46:35 +0000] access WARNING 213.4.179.131 rodulforg – “GET /logs HTTP/1.0”
    [28/Apr/2014 02:46:00 +0000] middleware INFO Processing exception: Script data has been deleted.: Traceback (most recent call last):
    File “/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py”, line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
    File “/usr/lib/hue/apps/pig/src/pig/views.py”, line 331, in show_job_result
    result.update(_job_result(request, job))
    File “/usr/lib/hue/apps/pig/src/pig/views.py”, line 284, in _job_result
    raise Http404(“Script data has been deleted.”)
    Http404: Script data has been deleted.
    [28/Apr/2014 02:46:00 +0000] http_client DEBUG GET http://ip-10-0-0-230.ec2.internal:50070/webhdfs/v1/tmp/.pigjobs/rodulforg/pba1_1398677956/stderr?op=GETFILESTATUS&user.name=hue&doas=rodulforg
    [28/Apr/2014 02:46:00 +0000] access INFO 213.4.179.131 rodulforg – “GET /pig/show_job_result/job_1398675437000_0009/ HTTP/1.0”
    [28/Apr/2014 02:45:52 +0000] http_client DEBUG GET http://ip-10-0-0-230.ec2.internal:50111/templeton/v1/queue/job_1398675437000_0009?user.name=hue&doAs=rodulforg
    [28/Apr/2014 02:45:52 +0000] access INFO 213.4.179.131 rodulforg – “POST /pig/check_running_job/job_1398675437000_0009/ HTTP/1.0”
    [28/Apr/2014 02:45:52 +0000] access INFO 213.4.179.131 rodulforg – “GET /pig/query_history/ HTTP/1.0”
    [28/Apr/2014 02:45:49 +0000] middleware INFO Processing exception: Could not find job job_1398675437000_0009. The job might not be running yet.: Traceback (most recent call last):
    File “/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py”, line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  • Author
    Replies
  • #52413
    Dave
    Moderator

    Hi Rodulfo,

    Please check the Yarn logs and also check your webhcat logs.
    There should be more information in there – also you can check your Resource Manager UI.

    Thanks

    Dave

    #52468
    Rodulfo
    Participant

    Hi Dave,

    Thanks for the quick reply. I’ll check the logs. I just installed another single node in AWS with the HDP 2.0 stack and I got exactly the same response.

    Component Version
    Hue
    2.3.0-102
    HDP
    2.0.6
    Hadoop
    2.2.0
    HCatalog
    0.12.0
    Pig
    0.12.0
    Hive
    0.12.0
    Oozie
    4.0.0
    Ambari
    1.4.4
    HBase
    0.96.1

The forum ‘Hue’ is closed to new topics and 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.