Return-Path: Delivered-To: apmail-hive-dev-archive@www.apache.org Received: (qmail 50445 invoked from network); 9 Dec 2010 22:57:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Dec 2010 22:57:23 -0000 Received: (qmail 67726 invoked by uid 500); 9 Dec 2010 22:57:22 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 67680 invoked by uid 500); 9 Dec 2010 22:57:22 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 67672 invoked by uid 500); 9 Dec 2010 22:57:22 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 67669 invoked by uid 99); 9 Dec 2010 22:57:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 22:57:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 22:57:22 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oB9Mv1kw026098 for ; Thu, 9 Dec 2010 22:57:02 GMT Message-ID: <15086093.48071291935421834.JavaMail.jira@thor> Date: Thu, 9 Dec 2010 17:57:01 -0500 (EST) From: "John Sichi (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Updated: (HIVE-1731) Improve miscellaneous error messages MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-1731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Sichi updated HIVE-1731: ----------------------------- Comment: was deleted (was: hive> select actiontype, sourcetype, destinationtype, get_json_object(payloaddata, '$.product'), regexp_extract(fullurl, '^.*?php') from nectar_contentaction_merged_partitioned where ds = '2010-11-30' and payloadtype = 'comment' and get_json_object(payloaddata, '$.product') = 'groups' limit 50; Total MapReduce jobs = 1 Launching Job 1 out of 1 ... Ended Job = job_201012012222_220674 with errors FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.MapRedTask The actual error was something to do with my regexp_extract syntax: index out of bounds error, no group 1 I didn't specify a group in the regexp, and when I made the adjustment everything worked as expected. It seems like this should be caught earlier, or at least the error trace for the task with the most failures (or a random task with max_failures if there's more than one) should be dumped to the CLI. This one might belong in a different task, since it's a much harder problem to deal with the error traces for badly specified functions (or, worse, custom scripts). However, in general "return code 2" is not useful. It only tells me I need to do a bunch of work to find out what's broken, and the only reason I know that is because I've been using Hive for a long time.) > Improve miscellaneous error messages > ------------------------------------ > > Key: HIVE-1731 > URL: https://issues.apache.org/jira/browse/HIVE-1731 > Project: Hive > Issue Type: Improvement > Components: Query Processor > Reporter: John Sichi > Fix For: 0.7.0 > > > This is a place for accumulating error message improvements so that we can update a bunch in batch. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.