You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Remus Rusanu (JIRA)" <ji...@apache.org> on 2013/12/05 14:37:38 UTC

[jira] [Created] (HIVE-5965) hadoop.bin.path on Windows .q tests should contain .cmd extension

Remus Rusanu created HIVE-5965:
----------------------------------

             Summary: hadoop.bin.path on Windows .q tests should contain .cmd extension
                 Key: HIVE-5965
                 URL: https://issues.apache.org/jira/browse/HIVE-5965
             Project: Hive
          Issue Type: Bug
          Components: Testing Infrastructure
         Environment: Windows
            Reporter: Remus Rusanu
            Assignee: Remus Rusanu


Tests fail with:

java.io.IOException: Cannot run program "E:\HW\project\hive-monarch\itests\qtest/../../testutils/hadoop" (in directory "E:\HW\project\hive-monarch\itests\qtest"): CreateProcess error=193, %1 is not a valid Win32 application
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
	at java.lang.Runtime.exec(Runtime.java:593)
	at java.lang.Runtime.exec(Runtime.java:431)
	at org.apache.hadoop.hive.ql.exec.mr.MapRedTask.execute(MapRedTask.java:262)
	at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:153)
	at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:65)
	at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1470)
	at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1248)
	at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1076)
	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:916)
	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:906)
	at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:268)
	at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:220)
	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:422)
	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:357)
	at org.apache.hadoop.hive.ql.QTestUtil.executeClient(QTestUtil.java:826)
	at org.apache.hadoop.hive.cli.TestCliDriver.runTest(TestCliDriver.java:130)

The hadoop.bin.path comes from the po.xml:

 <hadoop.bin.path>${basedir}/${hive.path.to.root}/testutils/hadoop</hadoop.bin.path>





--
This message was sent by Atlassian JIRA
(v6.1#6144)