[
https://issues.apache.org/jira/browse/HADOOP-6200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745908#action_12745908
]
Steve Loughran commented on HADOOP-6200:
----------------------------------------
When I tried to bump up the artifact version number by way of a shared
{{build.properties}} file, hdfs was not happy, as in "refuses to build the base
JAR not happy". Therefore, a cycle exists in the jar build process, even if the
dependencies only come together at test time.
{code}
init:
[mkdir] Created dir:
/Users/slo/Java/Hadoop/lifecycle/hadoop-hdfs/build/classes
[mkdir] Created dir: /Users/slo/Java/Hadoop/lifecycle/hadoop-hdfs/build/src
[mkdir] Created dir:
/Users/slo/Java/Hadoop/lifecycle/hadoop-hdfs/build/webapps/hdfs/WEB-INF
[mkdir] Created dir:
/Users/slo/Java/Hadoop/lifecycle/hadoop-hdfs/build/webapps/datanode/WEB-INF
[mkdir] Created dir:
/Users/slo/Java/Hadoop/lifecycle/hadoop-hdfs/build/webapps/secondary/WEB-INF
[mkdir] Created dir: /Users/slo/Java/Hadoop/lifecycle/hadoop-hdfs/build/ant
[mkdir] Created dir: /Users/slo/Java/Hadoop/lifecycle/hadoop-hdfs/build/test
[mkdir] Created dir:
/Users/slo/Java/Hadoop/lifecycle/hadoop-hdfs/build/test/classes
[mkdir] Created dir:
/Users/slo/Java/Hadoop/lifecycle/hadoop-hdfs/build/test/extraconf
[touch] Creating
/var/folders/6j/6jD1CUYiGs43jrHUr7BepU+++TI/-Tmp-/null2099585006
[delete] Deleting:
/var/folders/6j/6jD1CUYiGs43jrHUr7BepU+++TI/-Tmp-/null2099585006
[copy] Copying 2 files to
/Users/slo/Java/Hadoop/lifecycle/hadoop-hdfs/build/webapps
BUILD FAILED
/Users/slo/Java/Hadoop/lifecycle/hadoop-hdfs/build.xml:259: src
'/Users/slo/Java/Hadoop/lifecycle/hadoop-hdfs/lib/hadoop-mapred-0.21.0-alpha-15.jar'
doesn't exist.
{code}
I've documented what I've done to get the build working:
http://wiki.apache.org/hadoop/BuildingHadoopFromSVN
This has
* symbolic links to hook up the files. This is why you should be using a unix
to build on.
* a boot process where you don't flip the version marker on mapreduce until
you've build hdfs.
That wiki entry documents what we have today, its the starting point to what we
have to do to simplify things.
# We could have a shared base build.xml used by all projects, externally pulled
in by -hdfs and -mapreduce
# I would like to use ivy to glue together stuff locally and remotely. For this
to work we need at least one alpha release of 0.21 up in the big ibiblio
repository
# the hdfs build could be tweaked to only bail out at test-time if the mapred
JAR is missing, because that is the only time it is needed.
> glue together the different projects to make local builds easier
> ----------------------------------------------------------------
>
> Key: HADOOP-6200
> URL: https://issues.apache.org/jira/browse/HADOOP-6200
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 0.21.0
> Reporter: Steve Loughran
> Priority: Minor
>
> It's currently fairly tricky to get everything building/up to date in a
> single machine. We can and should improve this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.