FAQ
Author: jssarma
Date: Tue Apr 7 17:53:56 2009
New Revision: 762873

URL: http://svn.apache.org/viewvc?rev=762873&view=rev
Log:
HIVE-389. Allow option to build without Ivy

Modified:
hadoop/hive/trunk/CHANGES.txt
hadoop/hive/trunk/build-common.xml

Modified: hadoop/hive/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/CHANGES.txt?rev=762873&r1=762872&r2=762873&view=diff
==============================================================================
--- hadoop/hive/trunk/CHANGES.txt (original)
+++ hadoop/hive/trunk/CHANGES.txt Tue Apr 7 17:53:56 2009
@@ -7,6 +7,7 @@
NEW FEATURES

IMPROVEMENTS
+ HIVE-389. Option to build without ivy (jssarma)

OPTIMIZATIONS


Modified: hadoop/hive/trunk/build-common.xml
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/build-common.xml?rev=762873&r1=762872&r2=762873&view=diff
==============================================================================
--- hadoop/hive/trunk/build-common.xml (original)
+++ hadoop/hive/trunk/build-common.xml Tue Apr 7 17:53:56 2009
@@ -36,7 +36,8 @@

<property name="hadoop.mirror" value="http://archive.apache.org/dist"/>
<property name="hadoop.version" value="0.19.0"/>
- <property name="hadoop.root" location="${build.dir.hadoop}/hadoop-${hadoop.version}"/>
+ <property name="hadoop.root.default" location="${build.dir.hadoop}/hadoop-${hadoop.version}"/>
+ <property name="hadoop.root" value="${hadoop.root.default}"/>
<property name="hadoop.jar" location="${hadoop.root}/hadoop-${hadoop.version}-core.jar"/>
<property name="hadoop.conf.dir" location="${hadoop.root}/conf"/>

@@ -85,12 +86,25 @@

<available property="hadoopcore.install.done" file="${build.dir.hadoop}/hadoop-${hadoop.version}.installed"/>

- <target name="install-hadoopcore" depends="resolve" unless="hadoopcore.install.done">
+ <target name="install-hadoopcore-internal" depends="resolve" unless="hadoopcore.install.done">
<untar src="${build.dir.hadoop}/hadoop-${hadoop.version}.tar.gz" dest="${build.dir.hadoop}" compression="gzip"/>
<chmod file="${hadoop.root}/bin/hadoop" perm="+x"/>
<touch file="${build.dir.hadoop}/hadoop-${hadoop.version}.installed"/>
</target>

+ <target name="install-hadoopcore-default" unless="hadoop.root.nondefault">
+ <antcall target="install-hadoopcore-internal"/>
+ </target>
+
+ <target name="install-hadoopcore">
+ <condition property="hadoop.root.nondefault">
+ <not>
+ <equals arg1="${hadoop.root}" arg2="${hadoop.root.default}"/>
+ </not>
+ </condition>
+ <antcall target="install-hadoopcore-default"/>
+ </target>
+
<!-- I am not sure whether we need this target any more since that package does what is needed -->
<target name="deploy" depends="jar">
<echo message="hive: ${name}"/>

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupcommits @
categorieshive, hadoop
postedApr 7, '09 at 5:59p
activeApr 7, '09 at 5:59p
posts1
users1
websitehive.apache.org

1 user in discussion

Jssarma: 1 post

People

Translate

site design / logo © 2021 Grokbase