hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alejandro Abdelnur <t...@cloudera.com>
Subject Re: hadoop JARs not in lib/ directory of layout
Date Thu, 04 Aug 2011 21:40:17 GMT
[moving to core-dev@, general@ BCCed]

Eric,

Even if the JAR is in lib/ you could import/use that JAR only.

How would you use Hadoop JARs without its dependencies? Many things will
break unless you add the dependency JARs.

Granted, there are JARs that are used by Hadoop server side only
(JT/NN/TT/DN/SNN), but that is a different thing. Having a client side set
of JARs would help handle this (MAPREDUCE-1638).

Thoughts?

Thanks.

Alejandro

On Thu, Aug 4, 2011 at 1:14 PM, Eric Yang <eric818@gmail.com> wrote:

> The jar files placement  outside of lib directory is to ensure the project
> generated jar files are not mixed with it's dependencies.
> Hence, if another project tries to import current project's jar files
> without dependencies, it is possible to do so.
>
> regards,
> Eric
>
> On Aug 4, 2011, at 11:03 AM, Alejandro Abdelnur wrote:
>
> > What is the rationale for having the hadoop JARs outside of the lib/
> > directory?
> >
> > It would definitely simplify packaging configuration if they are under
> lib/
> > as well.
> >
> > Any objection to it?
> >
> > Thanks.
> >
> > Alejandro
>
>

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