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 799D1C751 for ; Fri, 13 Sep 2013 08:05:00 +0000 (UTC) Received: (qmail 59205 invoked by uid 500); 13 Sep 2013 02:47:58 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 59020 invoked by uid 500); 13 Sep 2013 02:47: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 58887 invoked by uid 500); 13 Sep 2013 02:47:54 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 58796 invoked by uid 99); 13 Sep 2013 02:47:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Sep 2013 02:47:52 +0000 Date: Fri, 13 Sep 2013 02:47:52 +0000 (UTC) From: "Daniel Dai (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-5086) Fix scriptfile1.q on Windows 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-5086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Dai updated HIVE-5086: ----------------------------- Status: Patch Available (was: Open) > Fix scriptfile1.q on Windows > ---------------------------- > > Key: HIVE-5086 > URL: https://issues.apache.org/jira/browse/HIVE-5086 > Project: Hive > Issue Type: Bug > Components: Tests, Windows > Reporter: Daniel Dai > Assignee: Daniel Dai > Fix For: 0.12.0 > > Attachments: HIVE-5086-1.patch > > > Test failed with error message: > [junit] Task with the most failures(4): > [junit] ----- > [junit] Task ID: > [junit] task_20130814023904691_0001_m_000000 > [junit] > [junit] URL: > [junit] http://localhost:50030/taskdetails.jsp?jobid=job_20130814023904691_0001&tipid=task_20130814023904691_0001_m_000000 > [junit] ----- > [junit] Diagnostic Messages for this Task: > [junit] java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row {"key":"238","value":"val_238"} > [junit] at org.apache.hadoop.hive.ql.exec.mr.ExecMapper.map(ExecMapper.java:175) > [junit] at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50) > [junit] at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:429) > [junit] at org.apache.hadoop.mapred.MapTask.run(MapTask.java:365) > [junit] at org.apache.hadoop.mapred.Child$4.run(Child.java:271) > [junit] at java.security.AccessController.doPrivileged(Native Method) > [junit] at javax.security.auth.Subject.doAs(Subject.java:396) > [junit] at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1232) > [junit] at org.apache.hadoop.mapred.Child.main(Child.java:265) > [junit] Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row {"key":"238","value":"val_238"} > [junit] at org.apache.hadoop.hive.ql.exec.MapOperator.process(MapOperator.java:538) > [junit] at org.apache.hadoop.hive.ql.exec.mr.ExecMapper.map(ExecMapper.java:157) > [junit] ... 8 more > [junit] Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: [Error 20000]: Unable to initialize custom script. > [junit] at org.apache.hadoop.hive.ql.exec.ScriptOperator.processOp(ScriptOperator.java:357) > [junit] at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:504) > [junit] at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:848) > [junit] at org.apache.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:88) > [junit] at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:504) > [junit] at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:848) > [junit] at org.apache.hadoop.hive.ql.exec.TableScanOperator.processOp(TableScanOperator.java:90) > [junit] at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:504) > [junit] at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:848) > [junit] at org.apache.hadoop.hive.ql.exec.MapOperator.process(MapOperator.java:528) > [junit] ... 9 more > [junit] Caused by: java.io.IOException: Cannot run program "D:\tmp\hadoop-Administrator\mapred\local\3_0\taskTracker\Administrator\jobcache\job_20130814023904691_0001\attempt_20130814023904691_0001_m_000000_3\work\.\testgrep": CreateProcess error=193, %1 is not a valid Win32 application > [junit] at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) > [junit] at org.apache.hadoop.hive.ql.exec.ScriptOperator.processOp(ScriptOperator.java:316) > [junit] ... 18 more > [junit] Caused by: java.io.IOException: CreateProcess error=193, %1 is not a valid Win32 application > [junit] at java.lang.ProcessImpl.create(Native Method) > [junit] at java.lang.ProcessImpl.(ProcessImpl.java:81) > [junit] at java.lang.ProcessImpl.start(ProcessImpl.java:30) > [junit] at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) > [junit] ... 19 more > [junit] > [junit] > [junit] Exception: Client Execution failed with error code = 20000 > [junit] See build/ql/tmp/hive.log, or try "ant test ... -Dtest.silent=false" to get more logs. > [junit] junit.framework.AssertionFailedError: Client Execution failed with error code = 20000 > [junit] See build/ql/tmp/hive.log, or try "ant test ... -Dtest.silent=false" to get more logs. > [junit] at junit.framework.Assert.fail(Assert.java:47) > [junit] at org.apache.hadoop.hive.cli.TestMinimrCliDriver.runTest(TestMinimrCliDriver.java:122) > [junit] at org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_scriptfile1(TestMinimrCliDriver.java:104) > [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [junit] at java.lang.reflect.Method.invoke(Method.java:597) > [junit] at junit.framework.TestCase.runTest(TestCase.java:154) > [junit] at junit.framework.TestCase.runBare(TestCase.java:127) > [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) > [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) > [junit] at junit.framework.TestResult.run(TestResult.java:109) > [junit] at junit.framework.TestCase.run(TestCase.java:118) > [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) > [junit] at junit.framework.TestSuite.run(TestSuite.java:203) > [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:520) > [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1060) > [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:911) > [junit] Failed query: scriptfile1.q -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira