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/09/19 10:53:02 UTC

svn commit: r1387494 - in /hive/trunk: build-common.xml build.properties

Author: hashutosh
Date: Wed Sep 19 08:53:02 2012
New Revision: 1387494

URL: http://svn.apache.org/viewvc?rev=1387494&view=rev
Log:
HIVE-3461 : hive unit tests fail to get lock using zookeeper on windows (Thejas Nair via Ashutosh Chauhan)

Modified:
    hive/trunk/build-common.xml
    hive/trunk/build.properties

Modified: hive/trunk/build-common.xml
URL: http://svn.apache.org/viewvc/hive/trunk/build-common.xml?rev=1387494&r1=1387493&r2=1387494&view=diff
==============================================================================
--- hive/trunk/build-common.xml (original)
+++ hive/trunk/build-common.xml Wed Sep 19 08:53:02 2012
@@ -432,6 +432,7 @@
       <sysproperty key="build.ivy.lib.dir" value="${build.ivy.lib.dir}"/>
       <sysproperty key="derby.version" value="${derby.version}"/>
       <sysproperty key="hive.version" value="${version}"/>
+      <sysproperty key="java.net.preferIPv4Stack" value="${java.net.preferIPv4Stack}"/>
       <sysproperty key="hadoop.bin.path" value="${test.hadoop.bin.path}${junit.script.extension}"/>
 
       <classpath refid="test.local.classpath"/>

Modified: hive/trunk/build.properties
URL: http://svn.apache.org/viewvc/hive/trunk/build.properties?rev=1387494&r1=1387493&r2=1387494&view=diff
==============================================================================
--- hive/trunk/build.properties (original)
+++ hive/trunk/build.properties Wed Sep 19 08:53:02 2012
@@ -44,6 +44,8 @@ hadoop.version.ant-internal=${hadoop.ver
 hadoop.root.default=${build.dir.hadoop}/hadoop-${hadoop.version.ant-internal}
 hadoop.root=${hadoop.root.default}
 test.hadoop.bin.path=${hive.root}/testutils/hadoop
+java.net.preferIPv4Stack=true
+
 # Newer versions of Hadoop name the jar as hadoop-{core,test}-VERSION instead of hadoop-VERSION-{core,test}
 # We will add both styles to the classpath and it will pick up whichever is there
 hadoop.oldstyle-name.jar=${hadoop.root}/hadoop-${hadoop.version.ant-internal}-core.jar