[ 
https://issues.apache.org/jira/browse/HADOOP-5107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Giridharan Kesavan updated HADOOP-5107:
---------------------------------------

    Attachment: mapred-trunk-v1.patch
                hdfs-trunk-v1.patch
                common-trunk-v1.patch

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.


> split the core, hdfs, and mapred jars from each other and publish them 
> independently to the Maven repository
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-5107
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5107
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 0.20.0
>            Reporter: Owen O'Malley
>            Assignee: Giridharan Kesavan
>         Attachments: common-trunk-v1.patch, common-trunk.patch, 
> hdfs-trunk-v1.patch, hdfs-trunk.patch, mapred-trunk-v1.patch, 
> mapreduce-trunk.patch
>
>
> I think to support splitting the projects, we should publish the jars for 
> 0.20.0 as independent jars to the Maven repository 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to