Issue Details (XML | Word | Printable)

Key: HADOOP-5107
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Giridharan Kesavan
Reporter: Owen O'Malley
Votes: 2
Watchers: 28
Operations

If you were logged in you would be able to see more operations.
Hadoop Common

split the core, hdfs, and mapred jars from each other and publish them independently to the Maven repository

Created: 22/Jan/09 06:59 PM   Updated: 10/Dec/09 03:36 AM
Component/s: build
Affects Version/s: 0.20.0
Fix Version/s: 0.21.0, 0.22.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works common-trunk-v1.patch 2009-09-11 11:38 AM Giridharan Kesavan 26 kB
Text File Licensed for inclusion in ASF works common-trunk-v4.patch 2009-09-23 10:01 AM Giridharan Kesavan 26 kB
Text File Licensed for inclusion in ASF works common-trunk-v6.patch 2009-09-25 11:34 AM Giridharan Kesavan 39 kB
Text File Licensed for inclusion in ASF works common-trunk-v7.patch 2009-09-30 05:15 AM Giridharan Kesavan 24 kB
Text File Licensed for inclusion in ASF works common-trunk-v8.patch 2009-09-30 09:04 PM Giridharan Kesavan 39 kB
Text File Licensed for inclusion in ASF works common-trunk-v9.patch 2009-10-15 11:55 AM Giridharan Kesavan 31 kB
Text File Licensed for inclusion in ASF works common-trunk.patch 2009-07-16 10:15 AM Giridharan Kesavan 18 kB
Text File Licensed for inclusion in ASF works hadoop-hdfsd-v4.patch 2009-09-23 10:01 AM Giridharan Kesavan 42 kB
Text File Licensed for inclusion in ASF works hdfs-trunk-v1.patch 2009-09-11 11:38 AM Giridharan Kesavan 45 kB
Text File Licensed for inclusion in ASF works hdfs-trunk-v2.patch 2009-09-16 07:33 PM Giridharan Kesavan 46 kB
Text File Licensed for inclusion in ASF works hdfs-trunk-v6.patch 2009-09-25 11:34 AM Giridharan Kesavan 34 kB
Text File Licensed for inclusion in ASF works hdfs-trunk-v9.patch 2009-10-15 11:55 AM Giridharan Kesavan 42 kB
Text File Licensed for inclusion in ASF works hdfs-trunk.patch 2009-07-16 10:15 AM Giridharan Kesavan 21 kB
Text File Licensed for inclusion in ASF works mapred-trunk-v1.patch 2009-09-11 11:38 AM Giridharan Kesavan 70 kB
Text File Licensed for inclusion in ASF works mapred-trunk-v2.patch 2009-09-11 06:18 PM Giridharan Kesavan 55 kB
Text File Licensed for inclusion in ASF works mapred-trunk-v3.patch 2009-09-16 07:33 PM Giridharan Kesavan 55 kB
Text File Licensed for inclusion in ASF works mapred-trunk-v4.patch 2009-09-23 10:01 AM Giridharan Kesavan 74 kB
Text File Licensed for inclusion in ASF works mapred-trunk-v5.patch 2009-09-23 11:07 AM Giridharan Kesavan 73 kB
Text File Licensed for inclusion in ASF works mapred-trunk-v6.patch 2009-09-25 11:34 AM Giridharan Kesavan 72 kB
Text File Licensed for inclusion in ASF works mapred-trunk-v9.1.patch 2009-10-27 06:24 PM Giridharan Kesavan 72 kB
Text File Licensed for inclusion in ASF works mapred-trunk-v9.2.patch 2009-11-04 12:51 AM Giridharan Kesavan 72 kB
Text File Licensed for inclusion in ASF works mapred-trunk-v9.patch 2009-10-15 11:55 AM Giridharan Kesavan 74 kB
Text File Licensed for inclusion in ASF works mapreduce-trunk.patch 2009-07-16 10:15 AM Giridharan Kesavan 38 kB
Issue Links:
Blocker
Required
 

Hadoop Flags: Reviewed
Resolution Date: 24/Nov/09 07:55 AM
Labels:


 Description  « Hide
I think to support splitting the projects, we should publish the jars for 0.20.0 as independent jars to the Maven repository

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Doug Cutting made changes - 22/Jan/09 07:02 PM
Field Original Value New Value
Link This issue blocks HADOOP-4686 [ HADOOP-4686 ]
Doug Cutting made changes - 22/Jan/09 07:03 PM
Link This issue blocks HADOOP-4687 [ HADOOP-4687 ]
Sharad Agarwal made changes - 22/Jan/09 09:16 PM
Link This issue blocks HADOOP-5102 [ HADOOP-5102 ]
Nigel Daley made changes - 23/Apr/09 07:08 PM
Fix Version/s 0.20.0 [ 12313438 ]
Giridharan Kesavan made changes - 16/Jul/09 10:13 AM
Assignee Giridharan Kesavan [ gkesavan ]
Giridharan Kesavan made changes - 16/Jul/09 10:15 AM
Attachment common-trunk.patch [ 12413667 ]
Attachment hdfs-trunk.patch [ 12413668 ]
Attachment mapreduce-trunk.patch [ 12413669 ]
Giridharan Kesavan added a comment - 16/Jul/09 10:23 AM
steps:

To publish common's jar's to the local repository : ie : /home/<username>/ivyrepo
cd common-trunk
apply common-trunk.patch
ant ivy-publish-local
this would publish hadoop-core and hadoop-core-test jar to the local filesystem based repository.

cd hdfs-trunk
apply hdfs-trunk.patch
ant ivy-publish-local -Dresolver=local
this would publish hdfs jars to the local filesystem based repository
-Dresolver=local option tells ivy to resolve the common jars from the local filesystem based repository

cd mapreduce-trunk
apply mapreduce-trunk.patch
ant ivy-publish-local -Dresolver=local
this would publish mapred jars to the local filesystem based repository
-Dresolver=local option tells ivy to resolve the common and hdfs jars from the local filesystem based repository

this patch also has a ssh based resolver that publishes artifacts to the people server's home folder but that requires authentication.


Arun C Murthy added a comment - 11/Aug/09 12:46 AM
Giri, any updates on this patch? It would be really nice to get people to resolver=local to do development across the common, hdfs and mapreduce sub-projects.

Tom White added a comment - 11/Aug/09 04:22 PM
A few comments after playing with this:
  • With these changes we should be able to use Ivy's support of transitive dependencies, so (amongst other things) we could remove the jets3t dependency from HDFS. Cleaning up the direct dependencies probably belongs in a follow up issue.
  • I was having problems getting the build the use the version of Ivy it downloads. This was due to an older version in ~/.ant which was being picked up. It worked after I deleted it. (I just mention this in case others have this problem - no changes are required to the patches.)
  • I had to make a few changes to ivysettings.xml:
    • Define a maven2.pattern (it was having problems retrieving the RAT jar without it):
      <property name="maven2.pattern" value="[organisation]/[module]/[revision]/[module]-[revision]"/>
    • Define a default username (empty), since without it you get the error "The uri is in the wrong format" (for e.g. /home/${username}/ivyrepo/commons-cli/commons-cli/1.1/ivys/ivy.xml):
      <property name="username" value=""/>

Doug Cutting added a comment - 11/Aug/09 05:01 PM
> I was having problems getting the build the use the version of Ivy it downloads.

Avro handles this better:

http://svn.apache.org/viewvc/hadoop/avro/trunk/build.xml?view=annotate#l128

Ivy's jar is stored in the lib/ directory. If the specified version of Ivy isn't there, it removes all versions before downloading. Also, one need never specify offline=true, since, so long as the specified version is there, it doesn't contact the network.


Nigel Daley added a comment - 12/Aug/09 10:33 PM
Giri's had too many problems trying to publish Hadoop jars to the Apache Maven repo using Ivy. He's now going to change direction and try the Maven Ant tasks and individual POM files (one for every jar file) to replace the Ivy functionality. If this works, he'll propagate the work to the other Hadoop subprojects. As part of this, the maven-ant-tasks.jar would be checked into the lib directory.

Doug Cutting added a comment - 12/Aug/09 10:39 PM
I'd be curious to hear what the problems are, and what it means to publish using Ivy. I publish Avro's jar with scp.

Giridharan Kesavan added a comment - 13/Aug/09 03:26 AM
I was able to use ivy to publish ivy.xml and hadoop jars to a local filesystem using filesystem resolver ,scp resolver to people.apache.org:/home/<myhome>

And everyone had concerns about publishing on to the home folder including me using ivy scp resolver.

I tried using the respository.apache.org maven repository (nexus) for publishing ivy artifacts (ivy.xml and hadoop.jar) I coudnt do the publishing even to the snapshot repository. I get the forbidden error.(I verified the authentication as my userid has access to the maven repo.)

When I tried doing the same publishing to a local nexus instance I was able to publish it.
After discussions with Brian (nexus repo admin), it looks like apache maven repo follows maven standards and he is not sure of publishing ivy.xml files to this repo.

Now I'm trying out with maven ant task.


Giridharan Kesavan added a comment - 11/Sep/09 11:38 AM
This patch uses mvn-ant-task for publishing artifacts to local filesystem and to the apache-snapshots repo.

Instructions:
To publish commons jar to the local filesystem repo.

apply the common-trunk.patch
ant mvn-install - this would publish common jars to the local filesystem based repo.

To publish hdfs jar to the local filesystem repo by resolving commons jar from local filesystem repo.
apply hdfs-trunk.patch
ant mvn-install -Dresolvers=internal

To publish mapred jar to the local filesystem repo by resolving common/hdfs jar from local filesystem repo.
apply mapred-trunk.patch
ant mvn-install -Dresolvers=internal

common/hdfs/mapred artifacts are already published to the apache repository.

If you want to just use the artifacts from the apache repo, you can just omit the -Dresolvers argument.
By default ivy is configured to use the apache snapshot repository.

IMPORTANT

If you want to switch between the internal and apache snapshot repository you are expected to call the ant clean-cache target and then set the resolvers to internal or apache snapshot repository as mentioned above.

Common patch builds fine.

ISSUES OPEN:

MAPRED:
builds fine.
sqoop contrib test failes for TestAutoProgressMapRunner - 2 Errors

HDFS:
run-test-hdfs-with-mr - 1 Failure with TestServiceLevelAuthorization
run-test-hdfs-fault-inject - 13 Failures with TestFiDataTransferProtocol

I need help to debug and fix or we can open up separate jira's to address those failures.


Giridharan Kesavan made changes - 11/Sep/09 11:38 AM
Attachment common-trunk-v1.patch [ 12419290 ]
Attachment hdfs-trunk-v1.patch [ 12419291 ]
Attachment mapred-trunk-v1.patch [ 12419292 ]
Giridharan Kesavan added a comment - 11/Sep/09 06:18 PM
mapreduce-trunk-v2.patch fixes the sqoop test failure as well, thanks to Aaron for the debugging tip.

Giridharan Kesavan made changes - 11/Sep/09 06:18 PM
Attachment mapred-trunk-v2.patch [ 12419324 ]
Giridharan Kesavan added a comment - 16/Sep/09 07:33 PM
attached hdfs-trunk-v2.patch and mapreduce-trunk-v3.patch which would help in resolving artifacts from the local fs
when -Dresolvers=internal is passed. If not found would resolve from apache-snaphots rather failing the build.
tnx

Giridharan Kesavan made changes - 16/Sep/09 07:33 PM
Attachment hdfs-trunk-v2.patch [ 12419804 ]
Attachment mapred-trunk-v3.patch [ 12419805 ]
Giridharan Kesavan made changes - 17/Sep/09 06:26 AM
Link This issue is blocked by HDFS-623 [ HDFS-623 ]
Giridharan Kesavan added a comment - 23/Sep/09 10:01 AM
uploaded v4 version of patch which works with the latest trunk
tnx

Giridharan Kesavan made changes - 23/Sep/09 10:01 AM
Attachment hadoop-hdfsd-v4.patch [ 12420356 ]
Attachment common-trunk-v4.patch [ 12420357 ]
Attachment mapred-trunk-v4.patch [ 12420358 ]
Jothi Padmanabhan added a comment - 23/Sep/09 10:18 AM
I tested this out. I did
1. Made change to a common file
2. Compiled and published it locally using
 ant mvn-install 

3. Made some changes to mapreduce source to use the change I did in the common file
4. Compiled using
 ant -Dresolvers=internal 

The compilation went through fine.


Giridharan Kesavan added a comment - 23/Sep/09 11:07 AM
uploaded mapred v5

Giridharan Kesavan made changes - 23/Sep/09 11:07 AM
Attachment mapred-trunk-v5.patch [ 12420366 ]
Sharad Agarwal added a comment - 25/Sep/09 05:46 AM
Tested mapred with and without -Dresolvers=internal. Verified that ~/.iv2 cache gets populated from the local ~/.m2 repository if -Dresolvers=internal is passed AND local repository is present. Otherwise it downloads from apache repository.
nit: It would be good to add description to the newly added targets so that those can be printed in "ant -p" help.

Vinod K V added a comment - 25/Sep/09 06:56 AM
Looked at the patch overall and tested it. Works fine when connected.

One major point : the patch assumes upfront that the dependency order is common->hdfs->mapred. There is another alternative : common->mapred and common->hdfs. In many local discussions, I didn't hear one final conclusion regarding this. Please also see HDFS-641. The first approach pushes some hdfs specific tests/benchmarks into mapred which may or may not be very correct. The second one still leaves the location of these tests/benchmarks unanswered. What does the community think about this?

Your failures w.r.t run-test-hdfs-with-mr and others should be connected to the above point, I guess.


Vinod K V added a comment - 25/Sep/09 06:58 AM
As for the patch review comments, I didn't go through each and every line so many nits may be missing the review.
  • The patch doesn't work when we go off-line for subsequent runs. The off-line feature is missing in all the projects. Without this feature, it tries to download maven-ant-tasks.jar itself again and gets stuck.
  • Minor: Wrap around lines longer than 80 characters.
  • In many files, in particular the ivy.xml files of contrib projects, most of the changes are not required and are redundant as the patch removes them and simply adds them again changing the format into a single line. Undoing these changes will greatly reduce the patch size
  • In mapreduce and hdfs ivy.xml files, some cleanup is done. The earlier client and server specific dependencies looked good and natural too. Did you remove that because the classification was premature or it didn't gel well with your changes?
  • In all the project's build files, in setversion target, replaceregexp can be done in a single go for all the POMs. It takes a fileset and so doesn't need separate replaceregexp tasks.
  • Remove hadoop-core.pom file from common, it's no longer required.
  • Bump ivy.version to 2.1.0-rc1 in mapreduce and hdfs projects also? The patch bumps it for the common project.
  • mapreduce build.xml: Do we need separate mvn-install and mvn-install-mapred? Even if it is needed, mvn-install should depend on mvn-install-mapred. A case of reuse.
  • common project: Should we take this as an opportunity and rename the core jar to common jar before publishing? It looks odd the project name is common while the jar's name refers to core.
  • I think that in both mapred and hdfs, clean-cache should not delete the whole ${user.home}/.ivy2/cache/org.apache.hadoop/hadoop-core directory for example. It works for now, but different projects may work with different versions of the jar, so mapred's clean-cache should only delete the corresponding version of the jar. Same with the other directories in the cache. Thoughts?
  • Should `ant clean` delete maven-ant-tasks.jar every time? I guess not.
  • Add the pom files in ivy directory (e.g. ivy/hadoop-mapred-examples.xml) to svn/git ignore ?
  • As Sharad already commented, can we put in nice descriptions for the new targets? Of course, we will not need these for internal only targets like mvn-taskdef.

Giridharan Kesavan added a comment - 25/Sep/09 09:32 AM

The patch doesn't work when we go off-line for subsequent runs. The off-line feature is missing in all the projects. Without this feature, it tries to download maven-ant-tasks.jar itself again and gets stuck.

ivy doesnt work offline. Everytime we do a build whether the dependencies are present in the cache or not it goes and verifies the repo. If the dependencies are present locally it doesn't download. Same is the case with mvn-ant-task.jar. It doesnt download the jar everytime as usetimestamp is set to true.

In many files, in particular the ivy.xml files of contrib projects, most of the changes are not required and are redundant as the patch removes them and simply adds them again changing the format into a single line. Undoing these changes will greatly reduce the patch size

When dependencies are put in a single line the ivy.xml file looks refined and re-formatting would greatly help in understanding.

In mapreduce and hdfs ivy.xml files, some cleanup is done. The earlier client and server specific dependencies looked good and natural too. Did you remove that because the classification was premature or it didn't gel well with your changes?

This patch uses maven and ivy for publishing and resolving resp. Ivy work's on configuration while maven works on scope. I 've tried my best to utilize best of both the worlds.

mapreduce build.xml: Do we need separate mvn-install and mvn-install-mapred? Even if it is needed, mvn-install should depend on mvn-install-mapred. A case of reuse.

Until last couple of days hdfs depended on both mapred and common. And mapred depended on hdfs and common. Hence we had a situation to publish only mapred and hdfs jar and not the corresponding test jars. I didn't want to re-use the mvn-install-mapred target as I was expected to cleanup this target once the circular dependency issue is resolved.

common project: Should we take this as an opportunity and rename the core jar to common jar before publishing? It looks odd the project name is common while the jar's name refers to core.

That would be quite a work and I would defn. want that to be in a diff jira.

I think that in both mapred and hdfs, clean-cache should not delete the whole ${user.home}/.ivy2/cache/org.apache.hadoop/hadoop-core directory for example. It works for now, but different projects may work with different versions of the jar, so mapred's clean-cache should only delete the corresponding version of the jar. Same with the other directories in the cache. Thoughts?

Its not just the jar files that the cache stores, it also converts the poms and stores them as ivy.xml files for different ivy configurations. And the best way to clean them up is to clean the corresponding artifact folder in the cache.

Should `ant clean` delete maven-ant-tasks.jar every time? I guess not.

When I call ant clean I would defn. expect a clean workspace.
Also there is a different reason. I ve seen ppl doing a ctrl-c half way when the ivy/maven-ant-task. jar is downloading. So the jar is partially downloaded. Next time when a user runs the build and the build fails for the jar file being corrupt, they have to go delete them manually.

Thanks for the comments.


Giridharan Kesavan added a comment - 25/Sep/09 11:34 AM
uploaded patch which address comments from shared and vinod.

Giridharan Kesavan made changes - 25/Sep/09 11:34 AM
Attachment common-trunk-v6.patch [ 12420546 ]
Attachment hdfs-trunk-v6.patch [ 12420547 ]
Attachment mapred-trunk-v6.patch [ 12420548 ]
Giridharan Kesavan made changes - 30/Sep/09 05:15 AM
Attachment common-trunk-v7.patch [ 12420880 ]
Lee Tucker added a comment - 30/Sep/09 05:11 PM
Looks like these 3 files got dropped in the V7 patch for common. I think they're still needed.

hadoop-core-template.xml
hadoop-core-test-template.xml
hadoop-core.pom


Giridharan Kesavan added a comment - 30/Sep/09 09:04 PM
common-tunk-v8.patch fixes the missing pom files

Giridharan Kesavan made changes - 30/Sep/09 09:04 PM
Attachment common-trunk-v8.patch [ 12420946 ]
Vinod K V added a comment - 13/Oct/09 09:40 AM
The patch works overall.

ivy doesnt work offline. Everytime we do a build whether the dependencies are present in the cache or not it goes and verifies the repo. If the dependencies are present locally it doesn't download. Same is the case with mvn-ant-task.jar. It doesnt download the jar everytime as usetimestamp is set to true.

It works like that on trunk. After the first run, I can go offline and still do my work. I think it works this way because we specify particular versioned jars, and so ivy actually doesn't go to the repo everytime. This might change if we wish to use snapshot jars of common/mapred/hdfs.

> common project: Should we take this as an opportunity and rename the core jar to common jar before publishing? It looks odd the project name is common while the jar's name refers to core.
>>>> That would be quite a work and I would defn. want that to be in a diff jira.

Created MAPREDUCE-1101 for the same.

> Should `ant clean` delete maven-ant-tasks.jar every time? I guess not.
>>>> When I call ant clean I would defn. expect a clean workspace.
Also there is a different reason. I ve seen ppl doing a ctrl-c half way when the ivy/maven-ant-task. jar is downloading. So the jar is partially downloaded. Next time when a user runs the build and the build fails for the jar file being corrupt, they have to go delete them manually.

Then we may wish to clean the ivy.jar too when we do ant clean.

Also, as Giri already has mentioned, we will need a follow up issue to clean up the list of dependencies, particularly of the contrib projects.
In any case, this issue is still blocked on the whole common, hdfs, mapred dependency related issues. Just putting these comments, so we are ready.


Aaron Kimball added a comment - 13/Oct/09 04:19 PM
-1 to deleting downloaded dependencies on 'ant clean'; if you're working offline, there are plenty of times you want to clean your own build intermediates, but don't want to inadvertently blow away your entire ability to compile. Maybe a separate 'depclean' target should make things Really, Really Clean.

Owen O'Malley added a comment - 13/Oct/09 04:26 PM
I agree with Aaron. Let's not wipe the downloaded jars on 'ant clean'. I'd propose 'veryclean' since that matches the C usage.

Giridharan Kesavan added a comment - 15/Oct/09 11:55 AM
patch v9 which incorporates offline and veryclean

Giridharan Kesavan made changes - 15/Oct/09 11:55 AM
Attachment mapred-trunk-v9.patch [ 12422219 ]
Attachment hdfs-trunk-v9.patch [ 12422220 ]
Attachment common-trunk-v9.patch [ 12422221 ]
Giridharan Kesavan added a comment - 27/Oct/09 06:24 PM
updated mapred v 9.1 patch which applies to the current trunk, thanks to Lee for testing the patch with the latest trunk.

Giridharan Kesavan made changes - 27/Oct/09 06:24 PM
Attachment mapred-trunk-v9.1.patch [ 12423343 ]
Owen O'Malley added a comment - 29/Oct/09 04:51 PM
I'm changing -0.22.0-dev-SNAPSHOT to -0.22.0-SNAPSHOT.

How do we publish the jars to Apache's maven repository?


Repository Revision Date User Message
ASF #831032 Thu Oct 29 17:08:42 UTC 2009 omalley HADOOP-5107. Use Maven ant tasks to publish the subproject jars.
(Giridharan Kesavan via omalley)
Files Changed
ADD /hadoop/common/trunk/ivy/hadoop-core-template.xml
ADD /hadoop/common/trunk/ivy/hadoop-core-test-template.xml
MODIFY /hadoop/common/trunk/ivy/ivysettings.xml
MODIFY /hadoop/common/trunk/CHANGES.txt
MODIFY /hadoop/common/trunk/ivy.xml
MODIFY /hadoop/common/trunk/build.xml
ADD /hadoop/common/trunk/ivy/hadoop-core-test.xml
MODIFY /hadoop/common/trunk/ivy
ADD /hadoop/common/trunk/ivy/hadoop-core.xml
MODIFY /hadoop/common/trunk/.gitignore
MODIFY /hadoop/common/trunk/ivy/libraries.properties

Repository Revision Date User Message
ASF #831033 Thu Oct 29 17:11:16 UTC 2009 omalley HADOOP-5107. Use Maven ant tasks to publish the subproject jars.
Merging down from trunk. (Giridharan Kesavan via omalley)
Files Changed
ADD /hadoop/common/branches/branch-0.21/ivy/hadoop-core-test.xml (from /hadoop/common/trunk/ivy/hadoop-core-test.xml)
MODIFY /hadoop/common/branches/branch-0.21/src/docs
MODIFY /hadoop/common/branches/branch-0.21/ivy/libraries.properties
MODIFY /hadoop/common/branches/branch-0.21/CHANGES.txt
ADD /hadoop/common/branches/branch-0.21/ivy/hadoop-core-template.xml (from /hadoop/common/trunk/ivy/hadoop-core-template.xml)
MODIFY /hadoop/common/branches/branch-0.21/src/java
MODIFY /hadoop/common/branches/branch-0.21/ivy
ADD /hadoop/common/branches/branch-0.21/ivy/hadoop-core.xml (from /hadoop/common/trunk/ivy/hadoop-core.xml)
MODIFY /hadoop/common/branches/branch-0.21
MODIFY /hadoop/common/branches/branch-0.21/.gitignore
MODIFY /hadoop/common/branches/branch-0.21/src/test/core
MODIFY /hadoop/common/branches/branch-0.21/src/contrib/ec2
MODIFY /hadoop/common/branches/branch-0.21/ivy/ivysettings.xml
MODIFY /hadoop/common/branches/branch-0.21/ivy.xml
ADD /hadoop/common/branches/branch-0.21/ivy/hadoop-core-test-template.xml (from /hadoop/common/trunk/ivy/hadoop-core-test-template.xml)
MODIFY /hadoop/common/branches/branch-0.21/build.xml

Hudson added a comment - 29/Oct/09 05:21 PM
Integrated in Hadoop-Common-trunk-Commit #73 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/73/)
. Use Maven ant tasks to publish the subproject jars.
(Giridharan Kesavan via omalley)

Repository Revision Date User Message
ASF #831053 Thu Oct 29 18:12:30 UTC 2009 omalley HADOOP-5107. Use Maven ant tasks to publish the subproject jars.
(Giridharan Kesavan via omalley)
Files Changed
ADD /hadoop/hdfs/trunk/ivy/hadoop-hdfs-test.xml
ADD /hadoop/hdfs/trunk/ivy/hadoop-hdfs.xml
MODIFY /hadoop/hdfs/trunk/build.xml
MODIFY /hadoop/hdfs/trunk/ivy/libraries.properties
MODIFY /hadoop/hdfs/trunk/src/contrib/thriftfs/ivy.xml
MODIFY /hadoop/hdfs/trunk/src/contrib/hdfsproxy/ivy.xml
MODIFY /hadoop/hdfs/trunk/ivy
MODIFY /hadoop/hdfs/trunk/src/contrib/hdfsproxy/build.xml
ADD /hadoop/hdfs/trunk/ivy/hadoop-hdfs-template.xml
MODIFY /hadoop/hdfs/trunk
ADD /hadoop/hdfs/trunk/ivy/hadoop-hdfs-test-template.xml
MODIFY /hadoop/hdfs/trunk/ivy/hadoop-core.pom
MODIFY /hadoop/hdfs/trunk/CHANGES.txt
MODIFY /hadoop/hdfs/trunk/ivy.xml
MODIFY /hadoop/hdfs/trunk/ivy/ivysettings.xml

Repository Revision Date User Message
ASF #831054 Thu Oct 29 18:14:35 UTC 2009 omalley HADOOP-5107. Add the ivy/*.jar stuff to gitignore.
Files Changed
MODIFY /hadoop/hdfs/trunk/.gitignore

Repository Revision Date User Message
ASF #831070 Thu Oct 29 19:42:06 UTC 2009 omalley HADOOP-5107. Remove generated files from subversion.
Files Changed
DEL /hadoop/common/trunk/ivy/hadoop-core-test.xml
MODIFY /hadoop/common/trunk/ivy
DEL /hadoop/common/trunk/ivy/hadoop-core.xml
MODIFY /hadoop/common/trunk/.gitignore

Hudson added a comment - 29/Oct/09 07:58 PM
Integrated in Hadoop-Common-trunk-Commit #74 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/74/)
. Remove generated files from subversion.

Repository Revision Date User Message
ASF #831080 Thu Oct 29 20:35:35 UTC 2009 omalley HADOOP-5107. Revert changes because the new raid contrib module broke this
patch. (I missed this because I forgot to delete the lib/hadoop-core-*.jar
files in my testing.)
Files Changed
DEL /hadoop/hdfs/trunk/ivy/hadoop-hdfs-test.xml
MODIFY /hadoop/hdfs/trunk/src/contrib/hdfsproxy/ivy.xml
MODIFY /hadoop/hdfs/trunk/ivy
MODIFY /hadoop/hdfs/trunk/src/contrib/hdfsproxy/build.xml
DEL /hadoop/hdfs/trunk/ivy/hadoop-hdfs-template.xml
MODIFY /hadoop/hdfs/trunk
MODIFY /hadoop/hdfs/trunk/ivy.xml
MODIFY /hadoop/hdfs/trunk/ivy/ivysettings.xml
DEL /hadoop/hdfs/trunk/ivy/hadoop-hdfs.xml
MODIFY /hadoop/hdfs/trunk/ivy/libraries.properties
MODIFY /hadoop/hdfs/trunk/build.xml
MODIFY /hadoop/hdfs/trunk/src/contrib/thriftfs/ivy.xml
DEL /hadoop/hdfs/trunk/ivy/hadoop-hdfs-test-template.xml
MODIFY /hadoop/hdfs/trunk/.gitignore
MODIFY /hadoop/hdfs/trunk/ivy/hadoop-core.pom
MODIFY /hadoop/hdfs/trunk/CHANGES.txt

Owen O'Malley added a comment - 29/Oct/09 08:38 PM
Ok, I've committed it to common.

It broke HDFS once I deleted the lib/hadoop-core-*.jar files correctly. I reverted it so that trunk isn't broken for HDFS. I have an interview and meeting this afternoon, but will try to fix it after that.


Repository Revision Date User Message
ASF #831083 Thu Oct 29 20:42:18 UTC 2009 omalley HADOOP-5107. Use Maven ant tasks to publish the subproject jars.
Removing generated files from checkin. (Giridharan Kesavan via omalley)
Files Changed
DEL /hadoop/common/branches/branch-0.21/ivy/hadoop-core.xml
DEL /hadoop/common/branches/branch-0.21/ivy/hadoop-core-test.xml
MODIFY /hadoop/common/branches/branch-0.21
MODIFY /hadoop/common/branches/branch-0.21/src/docs
MODIFY /hadoop/common/branches/branch-0.21/.gitignore
MODIFY /hadoop/common/branches/branch-0.21/src/test/core
MODIFY /hadoop/common/branches/branch-0.21/src/contrib/ec2
MODIFY /hadoop/common/branches/branch-0.21/CHANGES.txt
MODIFY /hadoop/common/branches/branch-0.21/src/java
MODIFY /hadoop/common/branches/branch-0.21/ivy

Hudson added a comment - 29/Oct/09 09:04 PM
Integrated in Hadoop-Hdfs-trunk-Commit #88 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/88/)
. Revert changes because the new raid contrib module broke this
patch. (I missed this because I forgot to delete the lib/hadoop-core-*.jar
files in my testing.)

Giridharan Kesavan added a comment - 30/Oct/09 04:58 AM

How do we publish the jars to Apache's maven repository?

mvn deploy as hudson user on any of the apache build server would publish jars to the Apache mvn respo.


Hudson added a comment - 30/Oct/09 11:29 AM
Integrated in Hadoop-Common-trunk #143 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/143/)
. Remove generated files from subversion.
. Use Maven ant tasks to publish the subproject jars.
(Giridharan Kesavan via omalley)

Repository Revision Date User Message
ASF #831455 Fri Oct 30 21:30:51 UTC 2009 omalley HADOOP-5107. Use Maven ant tasks to publish the subproject jars.
(Giridharan Kesavan via omalley)
Files Changed
MODIFY /hadoop/hdfs/trunk/src/contrib/hdfsproxy/ivy.xml
MODIFY /hadoop/hdfs/trunk/ivy
MODIFY /hadoop/hdfs/trunk/src/contrib/hdfsproxy/build.xml
ADD /hadoop/hdfs/trunk/ivy/hadoop-hdfs-template.xml
MODIFY /hadoop/hdfs/trunk
MODIFY /hadoop/hdfs/trunk/src/contrib/raid/ivy/libraries.properties
DEL /hadoop/hdfs/trunk/lib/hadoop-core-0.22.0-dev.jar
MODIFY /hadoop/hdfs/trunk/ivy.xml
MODIFY /hadoop/hdfs/trunk/ivy/ivysettings.xml
MODIFY /hadoop/hdfs/trunk/ivy/libraries.properties
MODIFY /hadoop/hdfs/trunk/build.xml
MODIFY /hadoop/hdfs/trunk/src/contrib/thriftfs/ivy.xml
MODIFY /hadoop/hdfs/trunk/src/contrib/raid/ivy.xml
ADD /hadoop/hdfs/trunk/ivy/hadoop-hdfs-test-template.xml
DEL /hadoop/hdfs/trunk/lib/hadoop-core-test-0.22.0-dev.jar
MODIFY /hadoop/hdfs/trunk/.gitignore
DEL /hadoop/hdfs/trunk/ivy/hadoop-core.pom
MODIFY /hadoop/hdfs/trunk/CHANGES.txt

Repository Revision Date User Message
ASF #831490 Fri Oct 30 23:48:41 UTC 2009 omalley HADOOP-5107. Use Maven ant tasks to publish the subproject jars.
Also clean cache on veryclean.
(Giridharan Kesavan via omalley)
Files Changed
MODIFY /hadoop/hdfs/trunk/build.xml

Konstantin Boudnik made changes - 02/Nov/09 11:50 PM
Link This issue blocks HDFS-749 [ HDFS-749 ]
Konstantin Boudnik added a comment - 02/Nov/09 11:50 PM
It seems like this has resulted in broken HDFS trunk.

Hudson added a comment - 03/Nov/09 09:23 PM
Integrated in Hadoop-Hdfs-trunk-Commit #96 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/96/)

Giridharan Kesavan added a comment - 04/Nov/09 12:51 AM
uploaded mapred-trunk.v9.2 version of patch that also addresses publishing artifacts to snapshots and to the staging repo.

Giridharan Kesavan made changes - 04/Nov/09 12:51 AM
Attachment mapred-trunk-v9.2.patch [ 12423985 ]
Hudson added a comment - 10/Nov/09 12:54 AM
Integrated in Hdfs-Patch-h5.grid.sp2.yahoo.net #100 (See http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/100/)

Hudson added a comment - 10/Nov/09 01:06 PM
Integrated in Hadoop-Hdfs-trunk #136 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk/136/)

Hudson added a comment - 12/Nov/09 09:18 PM
Integrated in Hdfs-Patch-h2.grid.sp2.yahoo.net #72 (See http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/72/)

Repository Revision Date User Message
ASF #883594 Tue Nov 24 05:52:46 UTC 2009 omalley HADOOP-5107. Use Maven ant tasks to publish artifacts. (Giridharan Kesavan
via omalley)
Files Changed
MODIFY /hadoop/mapreduce/trunk/src/contrib/data_join/ivy.xml
DEL /hadoop/mapreduce/trunk/ivy/hadoop-core.pom
MODIFY /hadoop/mapreduce/trunk/CHANGES.txt
MODIFY /hadoop/mapreduce/trunk/src/contrib/eclipse-plugin/ivy.xml
MODIFY /hadoop/mapreduce/trunk/src/contrib/streaming/ivy.xml
DEL /hadoop/mapreduce/trunk/lib/hadoop-hdfs-test-0.22.0-dev.jar
MODIFY /hadoop/mapreduce/trunk/src/contrib/block_forensics/ivy.xml
DEL /hadoop/mapreduce/trunk/lib/hadoop-core-0.22.0-dev.jar
ADD /hadoop/mapreduce/trunk/ivy/hadoop-mapred-test-template.xml
ADD /hadoop/mapreduce/trunk/ivy/hadoop-mapred-tools-template.xml
MODIFY /hadoop/mapreduce/trunk/ivy/libraries.properties
MODIFY /hadoop/mapreduce/trunk/src/contrib/dynamic-scheduler/ivy.xml
MODIFY /hadoop/mapreduce/trunk/src/contrib/mumak/ivy.xml
ADD /hadoop/mapreduce/trunk/ivy/hadoop-mapred-examples-template.xml
MODIFY /hadoop/mapreduce/trunk/ivy/ivysettings.xml
MODIFY /hadoop/mapreduce/trunk/src/contrib/capacity-scheduler/ivy.xml
MODIFY /hadoop/mapreduce/trunk/ivy.xml
MODIFY /hadoop/mapreduce/trunk/src/contrib/mrunit/ivy.xml
MODIFY /hadoop/mapreduce/trunk/src/contrib/sqoop/ivy.xml
MODIFY /hadoop/mapreduce/trunk/build.xml
MODIFY /hadoop/mapreduce/trunk/src/contrib/index/ivy.xml
MODIFY /hadoop/mapreduce/trunk/src/contrib/vertica/ivy.xml
MODIFY /hadoop/mapreduce/trunk/src/contrib/gridmix/ivy.xml
MODIFY /hadoop/mapreduce/trunk/src/contrib/vaidya/ivy.xml
ADD /hadoop/mapreduce/trunk/ivy/hadoop-mapred-template.xml
MODIFY /hadoop/mapreduce/trunk/src/contrib/fairscheduler/ivy.xml
DEL /hadoop/mapreduce/trunk/lib/hadoop-core-test-0.22.0-dev.jar
DEL /hadoop/mapreduce/trunk/lib/hadoop-hdfs-0.22.0-dev.jar

Repository Revision Date User Message
ASF #883611 Tue Nov 24 07:16:20 UTC 2009 omalley HADOOP-5107. Use Maven ant tasks to publish the subproject jars.
(Giridharan Kesavan via omalley)
Files Changed
MODIFY /hadoop/hdfs/branches/branch-0.21/src/test/hdfs
DEL /hadoop/hdfs/branches/branch-0.21/lib/hadoop-core-test-0.21.0-dev.jar
ADD /hadoop/hdfs/branches/branch-0.21/ivy/hadoop-hdfs-test-template.xml (from /hadoop/hdfs/trunk/ivy/hadoop-hdfs-test-template.xml)
MODIFY /hadoop/hdfs/branches/branch-0.21/src/webapps/secondary
MODIFY /hadoop/hdfs/branches/branch-0.21/ivy/libraries.properties
MODIFY /hadoop/hdfs/branches/branch-0.21/src/test/aop/org/apache/hadoop/hdfs/protocol
MODIFY /hadoop/hdfs/branches/branch-0.21/src/java
MODIFY /hadoop/hdfs/branches/branch-0.21/src/contrib/thriftfs/ivy.xml
MODIFY /hadoop/hdfs/branches/branch-0.21/src/contrib/hdfsproxy
DEL /hadoop/hdfs/branches/branch-0.21/ivy/hadoop-core.pom
MODIFY /hadoop/hdfs/branches/branch-0.21/CHANGES.txt
MODIFY /hadoop/hdfs/branches/branch-0.21/src/java/org/apache/hadoop/hdfs/server/datanode/ReplicaInfo.java
MODIFY /hadoop/hdfs/branches/branch-0.21/src/contrib/hdfsproxy/ivy.xml
MODIFY /hadoop/hdfs/branches/branch-0.21/.gitignore
MODIFY /hadoop/hdfs/branches/branch-0.21/ivy
MODIFY /hadoop/hdfs/branches/branch-0.21/src/contrib/hdfsproxy/build.xml
MODIFY /hadoop/hdfs/branches/branch-0.21/src/java/org/apache/hadoop/hdfs/protocol/RecoveryInProgressException.java
MODIFY /hadoop/hdfs/branches/branch-0.21
MODIFY /hadoop/hdfs/branches/branch-0.21/src/webapps/hdfs
MODIFY /hadoop/hdfs/branches/branch-0.21/ivy.xml
MODIFY /hadoop/hdfs/branches/branch-0.21/ivy/ivysettings.xml
MODIFY /hadoop/hdfs/branches/branch-0.21/src/webapps/datanode
MODIFY /hadoop/hdfs/branches/branch-0.21/src/contrib/build.xml
MODIFY /hadoop/hdfs/branches/branch-0.21/build.xml
ADD /hadoop/hdfs/branches/branch-0.21/ivy/hadoop-hdfs-template.xml (from /hadoop/hdfs/trunk/ivy/hadoop-hdfs-template.xml)
DEL /hadoop/hdfs/branches/branch-0.21/lib/hadoop-core-0.21.0-dev.jar
MODIFY /hadoop/hdfs/branches/branch-0.21/.eclipse.templates/.launches

Repository Revision Date User Message
ASF #883615 Tue Nov 24 07:44:50 UTC 2009 omalley HADOOP-5107. Forgot piece to clean out ivy on veryclean.
Files Changed
MODIFY /hadoop/mapreduce/trunk/build.xml

Repository Revision Date User Message
ASF #883617 Tue Nov 24 07:50:30 UTC 2009 omalley HADOOP-5107. Committing back into 21.
Files Changed
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/data_join
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/test/mapred/org/apache/hadoop/ipc
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/streaming
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/build-contrib.xml
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/data_join/ivy.xml
ADD /hadoop/mapreduce/branches/branch-0.21/ivy/hadoop-mapred-tools-template.xml (from /hadoop/mapreduce/trunk/ivy/hadoop-mapred-tools-template.xml)
DEL /hadoop/mapreduce/branches/branch-0.21/ivy/hadoop-core.pom
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/streaming/ivy.xml
MODIFY /hadoop/mapreduce/branches/branch-0.21/conf/capacity-scheduler.xml.template
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/test/mapred/org/apache/hadoop/io/FileBench.java
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/webapps/job
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/vaidya
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/dynamic-scheduler
MODIFY /hadoop/mapreduce/branches/branch-0.21
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/examples
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/sqoop
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/vaidya/ivy.xml
ADD /hadoop/mapreduce/branches/branch-0.21/ivy/hadoop-mapred-template.xml (from /hadoop/mapreduce/trunk/ivy/hadoop-mapred-template.xml)
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/dynamic-scheduler/ivy.xml
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/mumak/ivy.xml
ADD /hadoop/mapreduce/branches/branch-0.21/ivy/hadoop-mapred-examples-template.xml (from /hadoop/mapreduce/trunk/ivy/hadoop-mapred-examples-template.xml)
MODIFY /hadoop/mapreduce/branches/branch-0.21/ivy/ivysettings.xml
MODIFY /hadoop/mapreduce/branches/branch-0.21/ivy.xml
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/sqoop/ivy.xml
MODIFY /hadoop/mapreduce/branches/branch-0.21/build.xml
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/c++
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/vertica/ivy.xml
MODIFY /hadoop/mapreduce/branches/branch-0.21/conf
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/test/mapred/org/apache/hadoop/hdfs
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/block_forensics
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/capacity-scheduler
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/test/mapred/org/apache/hadoop/fs
MODIFY /hadoop/mapreduce/branches/branch-0.21/CHANGES.txt
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/mrunit
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/test/mapred/org/apache/hadoop/io/TestSequenceFileMergeProgress.java
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/test/mapred
MODIFY /hadoop/mapreduce/branches/branch-0.21/ivy/libraries.properties
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/java
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/block_forensics/ivy.xml
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/capacity-scheduler/ivy.xml
ADD /hadoop/mapreduce/branches/branch-0.21/ivy/hadoop-mapred-test-template.xml (from /hadoop/mapreduce/trunk/ivy/hadoop-mapred-test-template.xml)
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/mrunit/ivy.xml
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/index
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/test/mapred/org/apache/hadoop/security/authorize/TestServiceLevelAuthorization.java
MODIFY /hadoop/mapreduce/branches/branch-0.21/.gitignore
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/fairscheduler
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/eclipse-plugin
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/build.xml
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/index/ivy.xml
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/gridmix/ivy.xml
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/fairscheduler/ivy.xml
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/contrib/eclipse-plugin/ivy.xml
MODIFY /hadoop/mapreduce/branches/branch-0.21/src/test/mapred/org/apache/hadoop/test/MapredTestDriver.java

Owen O'Malley added a comment - 24/Nov/09 07:55 AM
I just committed this. Thanks, Giri!

Owen O'Malley made changes - 24/Nov/09 07:55 AM
Status Open [ 1 ] Resolved [ 5 ]
Hadoop Flags [Reviewed]
Fix Version/s 0.21.0 [ 12313563 ]
Fix Version/s 0.22.0 [ 12314296 ]
Resolution Fixed [ 1 ]
Hudson added a comment - 26/Nov/09 12:05 PM
Integrated in Hadoop-Mapreduce-trunk-Commit #134 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/134/)

Repository Revision Date User Message
ASF #885674 Tue Dec 01 05:12:21 UTC 2009 cos Fixing broken rev.835736 introduced by HADOOP-5107 in rev. 883611
Files Changed
MODIFY /hadoop/hdfs/branches/branch-0.21/ivy.xml

Hudson added a comment - 02/Dec/09 05:32 PM
Integrated in Hadoop-Mapreduce-trunk #162 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk/162/)

Konstantin Boudnik made changes - 10/Dec/09 03:36 AM
Link This issue requires HDFS-825 [ HDFS-825 ]