[
https://issues.apache.org/jira/browse/AVRO-647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913211#action_12913211
]
Doug Cutting commented on AVRO-647:
-----------------------------------
> separating specific, generic, and reflect is meaningful.
I agree they're logically separate, but I think we want to avoid slicing things
into 20 logically distinct jars.
> There are also dependencies on the o.a.a.ipc package from all over the place
> due to having utility classes there that should be in .util instead. [ ... ]
Which classes are you thinking of? I think we should resist the tendency to
move things into util when we can't figure out where they belong.
Generic, specific and reflect all depend on ipc for Requestor and Responder.
The complicated bit is that ipc depends on the specific compiler for
Handshake{Request,Response}. So perhaps
{Generic,Specific,Reflect}{Requestor,Responder} should all move to ipc to
remove that circularity. That would make the build easier.
> Break avro.jar into avro.jar, avro-dev.jar and avro-hadoop.jar
> --------------------------------------------------------------
>
> Key: AVRO-647
> URL: https://issues.apache.org/jira/browse/AVRO-647
> Project: Avro
> Issue Type: Improvement
> Components: java
> Reporter: Scott Carey
> Assignee: Scott Carey
>
> Our dependencies are starting to get a little complicated on the Java side.
> I propose we build two (possibly more) jars related to our major dependencies
> and functions.
> 1. avro.jar (or perhaps avro-core.jar)
> This contains all of the core avro functionality for _using_ avro as a
> library. This excludes the specific compiler, avro idl, and other build-time
> or development tools, as well as avro packages for third party integration
> such as hadoop. This jar should then have a minimal set of dependencies
> (jackson, jetty, SLF4J ?).
> 2. avro-dev.jar
> This would contain compilers, idl, development tools, etc. Most applications
> will not need this, but build systems and developers will.
> 3. avro-hadoop.jar
> This would contain the hadoop API and possibly pig/hive/whatever related to
> that. This makes it easier for pig/hive/hadoop to consume avro-core without
> circular dependencies.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.