You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2012/02/27 08:41:58 UTC
svn commit: r1294049 - /hive/trunk/build-common.xml
Author: hashutosh
Date: Mon Feb 27 07:41:58 2012
New Revision: 1294049
URL: http://svn.apache.org/viewvc?rev=1294049&view=rev
Log:
HIVE-2811: Export LANG=en_US.UTF-8 to environment while running tests (ecapriolo via hashutosh)
Modified:
hive/trunk/build-common.xml
Modified: hive/trunk/build-common.xml
URL: http://svn.apache.org/viewvc/hive/trunk/build-common.xml?rev=1294049&r1=1294048&r2=1294049&view=diff
==============================================================================
--- hive/trunk/build-common.xml (original)
+++ hive/trunk/build-common.xml Mon Feb 27 07:41:58 2012
@@ -64,6 +64,7 @@
<property name="hadoopVersion" value="${hadoop.version.ant-internal}"/>
<property name="test.serialize.qplan" value="false"/>
<property name="test.print.classpath" value="false"/>
+ <property name="test.lang" value="en_US.UTF-8"/>
<path id="test.classpath">
<pathelement location="${test.build.classes}" />
@@ -365,7 +366,7 @@
<junit showoutput="${test.output}" printsummary="yes" haltonfailure="no"
fork="yes" maxmemory="512m" dir="${basedir}" timeout="${test.timeout}"
errorProperty="tests.failed" failureProperty="tests.failed" filtertrace="off">
-
+ <env key="LANG" value="${test.lang}"/>
<env key="HADOOP_HOME" value="${hadoop.root}"/>
<env key="HADOOP_CLASSPATH" value="${test.src.data.dir}/conf:${build.dir.hive}/dist/lib/derby-${derby.version}.jar:${build.dir.hive}/dist/lib/JavaEWAH-${javaewah.version}.jar:${hadoop.root}/modules/*"/> <!-- Modules needed for Hadoop 0.23 -->
<env key="TZ" value="US/Pacific"/>