hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-8446) make hadoop-core jar OSGi friendly
Date Wed, 30 May 2012 00:11:23 GMT
Freeman Fang created HADOOP-8446:

             Summary: make hadoop-core jar OSGi friendly
                 Key: HADOOP-8446
                 URL: https://issues.apache.org/jira/browse/HADOOP-8446
             Project: Hadoop Common
          Issue Type: Improvement
          Components: build
            Reporter: Freeman Fang

hadoop-core isn't OSGi friendly, so for those who wanna use it in OSGi container, must wrap
it with tool like bnd/maven-bundle-plugin. Apache Servicemix always wrap 3rd party jars which
isn't OSGi friendly,  you can see we've done it for lots of jars here[1], more specifically
for several hadoop-core versions[2].  Though we may keep this way doing it, the problem is
that we need do it for every new released version for 3rd party jars, more importantly we
need ensure other Apache projects communities are aware of we're doing it.

In Servicemix we just wrap hadoop-core 1.0.3, issues to track it in Servicemix is[3].

We hope Apache Hadoop can offer OSGi friendly jars, in most cases, it's should be straightforward,
as it just need add OSGi metadata headers to MANIFEST.MF, this could be done easily with maven-bundle-plugin
if build with maven.  There's also some other practice should be followed like different modules
shouldn't share same package(avoid split pacakge). 


This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message