Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo, mail # dev - "Provided" dependencies


Copy link to this message
-
Re: "Provided" dependencies
Adam Fuchs 2013-11-07, 02:04
On Nov 6, 2013 6:04 PM, "Joey Echeverria" <joey+[EMAIL PROTECTED]> 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