hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From the...@apache.org
Subject svn commit: r1607478 - in /hive/trunk/hcatalog/src/test/e2e/templeton: build.xml conf/default.conf
Date Wed, 02 Jul 2014 20:40:39 GMT
Author: thejas
Date: Wed Jul  2 20:40:38 2014
New Revision: 1607478

URL: http://svn.apache.org/r1607478
Log:
HIVE-5789 : WebHCat E2E tests do not launch on Windows (Deepesh Khandelwal reviewed by Eugene
Koifman, Thejas Nair)

Modified:
    hive/trunk/hcatalog/src/test/e2e/templeton/build.xml
    hive/trunk/hcatalog/src/test/e2e/templeton/conf/default.conf

Modified: hive/trunk/hcatalog/src/test/e2e/templeton/build.xml
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/src/test/e2e/templeton/build.xml?rev=1607478&r1=1607477&r2=1607478&view=diff
==============================================================================
--- hive/trunk/hcatalog/src/test/e2e/templeton/build.xml (original)
+++ hive/trunk/hcatalog/src/test/e2e/templeton/build.xml Wed Jul  2 20:40:38 2014
@@ -92,7 +92,7 @@
         <property name="e2e.debug" value="false"/>
         <property name="tests.to.run" value=""/>
 
-        <exec executable="./test_harness.pl" dir="${test.location}" failonerror="true">
+        <exec executable="perl" dir="${test.location}" failonerror="true">
             <env key="HARNESS_ROOT" value="."/>
             <env key="DRIVER_ROOT" value="${basedir}/drivers"/>
             <env key="TH_WORKING_DIR" value="${test.location}"/>
@@ -112,6 +112,7 @@
             <env key="HARNESS_CONF" value="${basedir}/conf/default.conf"/>
             <env key="SECURE_MODE" value="${secure.mode}"/>
             <env key="HADOOP_VERSION" value="${hadoopversion}"/>
+            <arg value="./test_harness.pl"/>
             <arg line="${tests.to.run}"/>
             <arg value="${basedir}/tests/serverstatus.conf"/>
             <arg value="${basedir}/tests/jobsubmission_streaming.conf"/>
@@ -128,7 +129,7 @@
         <property name="fork.factor.conf.file" value="1"/>
         <property name="e2e.debug" value="false"/>
         <property name="tests.to.run" value=""/>
-        <exec executable="./test_harness.pl" dir="${test.location}" failonerror="true">
+        <exec executable="perl" dir="${test.location}" failonerror="true">
             <env key="HARNESS_ROOT" value="."/>
             <env key="DRIVER_ROOT" value="${basedir}/drivers"/>
             <env key="TH_WORKING_DIR" value="${test.location}"/>
@@ -148,6 +149,7 @@
             <env key="HARNESS_CONF" value="${basedir}/conf/default.conf"/>
             <env key="SECURE_MODE" value="${secure.mode}"/>
             <env key="KEYTAB_DIR" value="${keytab.dir}"/>
+            <arg value="./test_harness.pl"/>
             <arg line="${tests.to.run}"/>
             <arg value="${basedir}/tests/hcatperms.conf"/>
             <arg value="${basedir}/tests/jobstatus.conf"/>
@@ -169,7 +171,7 @@
             <isset property="doas.user.tmp"/>
         </condition>
 
-        <exec executable="./test_harness.pl" dir="${test.location}" failonerror="true">
+        <exec executable="perl" dir="${test.location}" failonerror="true">
             <env key="HARNESS_ROOT" value="."/>
             <env key="TH_WORKING_DIR" value="${test.location}"/>
             <env key="TH_INPDIR_LOCAL" value="${inpdir.local}"/>
@@ -185,6 +187,7 @@
             <env key="DOAS_USER" value="${doas.user}"/>
             <env key="HARNESS_CONF" value="${basedir}/conf/default.conf"/>
             <env key="SECURE_MODE" value="${secure.mode}"/>
+            <arg value="./test_harness.pl"/>
             <arg line="${tests.to.run}"/>
             <arg value="${basedir}/tests/doas.conf"/>
         </exec>

Modified: hive/trunk/hcatalog/src/test/e2e/templeton/conf/default.conf
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/src/test/e2e/templeton/conf/default.conf?rev=1607478&r1=1607477&r2=1607478&view=diff
==============================================================================
--- hive/trunk/hcatalog/src/test/e2e/templeton/conf/default.conf (original)
+++ hive/trunk/hcatalog/src/test/e2e/templeton/conf/default.conf Wed Jul  2 20:40:38 2014
@@ -27,6 +27,7 @@ chomp $me;
 $cfg = {
     #HDFS
       'outpathbase'    => '/tmp/templeton_test_out'
+    , 'localpathbase'  => "$ENV{TH_WORKING_DIR}/out"
     , 'localoutpathbase' => "$ENV{TH_WORKING_DIR}/"
 
     #TEST



Mime
View raw message