Issue Details (XML | Word | Printable)

Key: HADOOP-6331
Type: Bug Bug
Status: Resolved Resolved
Resolution: Duplicate
Priority: Major Major
Assignee: Unassigned
Reporter: Cyril Lakech
Votes: 0
Watchers: 3
Operations

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

Upload Hadoop core jars to a public maven repository

Created: 24/Oct/09 09:13 PM   Updated: 26/Oct/09 12:31 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Issue Links:
Duplicate
 

Resolution Date: 26/Oct/09 12:31 PM


 Description  « Hide
There are many cool release of hadoop core and this project is an apache project, as the maven project.
But the released jars must be download manually and then deploy to a private repository before they can be used by developer using maven2.

Please could you upload the hadoop core jars on the public maven2 repository ?

Of course, we can help to deploy those artifact if necessary.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Cyril Lakech added a comment - 24/Oct/09 09:14 PM
Here is a sample pom.xml

<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-core</artifactId>
<version>0.20.0</version>
</project>

When you release hbase you could upload the jar and this pom to the public maven repository. For instance, the hadoop avro project seems to be uploaded on the public repo. You could contact the hadoop avro team to know how do they upload their last release (avro 1.2.0)


Cyril Lakech added a comment - 24/Oct/09 09:41 PM
How to upload a jar to the Apache directory ?

The public answer :
http://maven.apache.org/guides/mini/guide-central-repository-upload.html

The apache internal answer :
http://www.apache.org/dev/repository-faq.html


Allen Wittenauer added a comment - 24/Oct/09 11:46 PM
How does Maven deal with C code? Hadoop is not pure Java, at least, it isn't if you care about performance, the pipes API, etc, etc, ...

Giridharan Kesavan added a comment - 26/Oct/09 11:35 AM
With hadoop-5107 we would be able to publish hadoop jars to apache maven repo.

Steve Loughran added a comment - 26/Oct/09 12:26 PM
Duplicate of the HADOOP-3302 bugrep. Now that Hadoop doesn't depend on -snapshot artifacts, it is possible to push 0.21+ out through the repository

Steve Loughran added a comment - 26/Oct/09 12:31 PM
Allen, I don't think you could use the pure Java codebase for production servers, so we need a better way of packaging/distributing the native bits, which are tricky precisely because they aren't x-platform.

But if you are doing client side coding, or bringing up shortlived test clusters, there's no reason why the JARs you need can't go up in the repository for Ivy or Maven users to pick up. I do this in my own SCM-managed repository; I publish my builds, everyone else gets the JARs.

We could also publish some of the test libraries to the repo, benchmarks and the like, so that its easier to run them against clusters you are just bringing up.