accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Fuchs <afu...@apache.org>
Subject Re: "Provided" dependencies
Date Thu, 07 Nov 2013 02:04:52 GMT
On Nov 6, 2013 6:04 PM, "Joey Echeverria" <joey+ml@clouderagovt.com> wrote:
> ...
> If I depend on Accumulo in my maven project, then I shouldn't need to
> depend on Hadoop unless the APIs I'm using leak that dependency or I
> have an explicit dependency on Hadoop elsewhere.

We currently leak the Text object. It would be great if we didn't! (newbie
project?)

> > Since you can build accumulo against
> > any version of hadoop and it will still run against any other version of
> > hadoop, I think it's better to make things easier on us by having it
> > compile scoped.
>
> That's not strictly true. If you build against Hadoop1, I don't think
> you can run against Hadoop2, but I could be wrong. I do know that
> unless you're doing some reflection magic, you have to modify
> [In|Out]putFormats as the APIs moved some classes to interfaces and
> vice versa.

We have done some crazy reflection stuff to make this possible.

Cheers,
Adam

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message