You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by John Zhuge <jz...@cloudera.com> on 2016/12/09 07:13:24 UTC

Re: DI framework

Wow, it is extremely light weight! Surprised that it doesn't even use JSR
330.

John Zhuge
Software Engineer, Cloudera

On Sat, Nov 26, 2016 at 2:37 PM, Saikat Kanjilal <sx...@hotmail.com>
wrote:

> https://github.com/pmazak/Spit-DI
>
>
> http://paulmazak.blogspot.com/2015/06/dependency-injection-on-hadoop.html
> <http://paulmazak.blogspot.com/2015/06/dependency-injection-on-hadoop.html>
> Dependency Injection on Hadoop (without Guice)
> <http://paulmazak.blogspot.com/2015/06/dependency-injection-on-hadoop.html>
> paulmazak.blogspot.com
> Does your Java map-reduce code look like a bunch of dominoes strung
> together, in which you can't play one piece until you have the other ...
>
>
>
>
> I've used spring in the past but this seems like a framework that has some
> potential.
> <https://github.com/pmazak/Spit-DI>
> GitHub - pmazak/Spit-DI: Spit is a lightweight dependency ...
> <https://github.com/pmazak/Spit-DI>
> github.com
> Spit-DI - Spit is a lightweight dependency injection class for Java.
>
>
>
>
> ------------------------------
> *From:* John Zhuge <jz...@cloudera.com>
> *Sent:* Saturday, November 26, 2016 2:23 PM
> *To:* common-dev@hadoop.apache.org
> *Subject:* Re: DI framework
>
> Guice is being used in production by YARN; in testing in by MapReduce and
> YARN.
>
> John Zhuge
> Software Engineer, Cloudera
>
> On Sat, Nov 26, 2016 at 12:52 PM, John Zhuge <jz...@cloudera.com> wrote:
>
> > Hi all,
> >
> > Has there been any discussion on whether to use a DI (Dependency
> > Injection) framework? Which DI framework? Anybody got experience with
> > Dagger 2?
> >
> > Thanks,
> > John Zhuge
> > Software Engineer, Cloudera
> >
>