Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E4E0478A7 for ; Tue, 9 Aug 2011 19:34:56 +0000 (UTC) Received: (qmail 18253 invoked by uid 500); 9 Aug 2011 19:34:56 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 18190 invoked by uid 500); 9 Aug 2011 19:34:56 -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 18010 invoked by uid 500); 9 Aug 2011 19:34:55 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 17831 invoked by uid 99); 9 Aug 2011 19:34:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2011 19:34:55 +0000 X-ASF-Spam-Status: No, hits=-2000.8 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2011 19:34:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1B4B1B35A0 for ; Tue, 9 Aug 2011 19:34:31 +0000 (UTC) Date: Tue, 9 Aug 2011 19:34:31 +0000 (UTC) From: "jiraposter@reviews.apache.org (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1459459752.21267.1312918471108.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2028551224.33566.1304985783213.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2156) Improve error messages emitted during task execution MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-2156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13081865#comment-13081865 ] jiraposter@reviews.apache.org commented on HIVE-2156: ----------------------------------------------------- ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/777/ ----------------------------------------------------------- (Updated 2011-08-09 19:33:53.896288) Review request for hive and John Sichi. Changes ------- update patch to avoid TestExecDriver errors and include miniMR mode testcase Summary ------- - Add local error messages to point to job logs and provide TaskIDs - Add a timeout to the fetching of task logs and errors This addresses bug HIVE-2156. https://issues.apache.org/jira/browse/HIVE-2156 Diffs (updated) ----- build-common.xml 4856c5f common/src/java/org/apache/hadoop/hive/conf/HiveConf.java b46976f conf/hive-default.xml 3a4f833 contrib/src/test/results/clientnegative/case_with_row_sequence.q.out 4447c65 ql/build.xml 449b47a ql/src/java/org/apache/hadoop/hive/ql/exec/HadoopJobExecHelper.java 1c6f092 ql/src/java/org/apache/hadoop/hive/ql/exec/JobDebugger.java PRE-CREATION ql/src/java/org/apache/hadoop/hive/ql/exec/MapRedTask.java e687b1a ql/src/java/org/apache/hadoop/hive/ql/exec/MapredLocalTask.java 3d5e95d ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java cec0d46 ql/src/test/queries/clientnegative/minimr_broken_pipe.q PRE-CREATION ql/src/test/results/clientnegative/dyn_part3.q.out 5f4df65 ql/src/test/results/clientnegative/index_compact_entry_limit.q.out 06437c7 ql/src/test/results/clientnegative/index_compact_size_limit.q.out 54f1262 ql/src/test/results/clientnegative/minimr_broken_pipe.q.out PRE-CREATION ql/src/test/results/clientnegative/script_broken_pipe1.q.out d33d2cc ql/src/test/results/clientnegative/script_broken_pipe2.q.out afbaa44 ql/src/test/results/clientnegative/script_broken_pipe3.q.out fe8f757 ql/src/test/results/clientnegative/script_error.q.out c72d780 ql/src/test/results/clientnegative/udf_reflect_neg.q.out f2082a3 ql/src/test/results/clientnegative/udf_test_error.q.out 5fd9a00 ql/src/test/results/clientnegative/udf_test_error_reduce.q.out ddc5e5b ql/src/test/results/clientpositive/auto_join25.q.out 362b2fa ql/src/test/results/clientpositive/mapjoin_hook.q.out acdeefa ql/src/test/templates/TestNegativeCliDriver.vm ec13f79 Diff: https://reviews.apache.org/r/777/diff Testing ------- Tested TestNegativeCliDriver in both local and miniMR mode Thanks, Syed > Improve error messages emitted during task execution > ---------------------------------------------------- > > Key: HIVE-2156 > URL: https://issues.apache.org/jira/browse/HIVE-2156 > Project: Hive > Issue Type: Improvement > Reporter: Syed S. Albiz > Assignee: Syed S. Albiz > Attachments: HIVE-2156.1.patch, HIVE-2156.10.patch, HIVE-2156.11.patch, HIVE-2156.12.patch, HIVE-2156.2.patch, HIVE-2156.4.patch, HIVE-2156.8.patch, HIVE-2156.9.patch > > > Follow-up to HIVE-1731 > A number of issues were related to reporting errors from task execution and surfacing these in a more useful form. > Currently a cryptic message with "Execution Error" and a return code and class name of the task is emitted. > The most useful log messages here are emitted to the local logs, which can be found through jobtracker. Having either a pointer to these logs as part of the error message or the actual content would improve the usefulness substantially. It may also warrant looking into how the underlying error reporting through Hadoop is done and if more information can be propagated up from there. > Specific issues raised in HIVE-1731: > FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.MapRedTask > * issue was in regexp_extract syntax > FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask > * tried: desc table_does_not_exist; -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira