Hive / HCatalog Forum

Exit status code 3

  • #30929
    Dipti Joshi

    Getting following error when running hive query:

    set start=”2011-01-31 00:00:00″;
    set end=”2011-01-31 23:59:59″;
    select name, type, subq.* from
    ( SELECT
    idaction_url idaction,
    count(distinct idvisit) dis_visit ,
    count(*) subquery_count
    FROM log_link_visit_action_tbl
    WHERE (server_time between unix_timestamp(${hiveconf:start}) and unix_timestamp(${hiveconf:end})
    AND idsite = 5
    AND idaction_url > 0 )
    GROUP BY idaction_url
    ORDER by subquery_count desc limit 10000 ) subq
    join log_action_tbl on (subq.idaction = log_action_tbl.idaction)
    ORDER BY subquery_count DESC ;

    2013-08-06 05:10:51 Processing rows: 2400000 Hashtable size: 2399999 Memory usage: 938011312 rate: 0.88
    2013-08-06 05:10:52 Processing rows: 2500000 Hashtable size: 2499999 Memory usage: 972746904 rate: 0.913
    Execution failed with exit status: 3
    Obtaining error information
    Task failed!
    Task ID:
    FAILED: Execution Error, return code 3 from org.apache.hadoop.hive.ql.exec.MapredLocalTask

    What does exit code 3 mean, and what needs to be corrected to fix the error.
    Thanks !

to create new topics or reply. | New User Registration

  • Author
  • #30947
    Sasha J

    Could you take a look to JobTracker and TaskTracker logs?
    There should be some more details on the problem.

    Thank you!

You must be to reply to this topic. | Create Account

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.