As Haohui Mai said, removing the dependency on the Guava may not be a good idea.
But, instead can we use a fixed guava version in Hadoop which is stable as of now, with a shaded package structure ? so that it will not break the application level dependency on another version of the Guava. Inside Hadoop we can always use the shaded package of guava I think similar idea has been proposed in some Jira, I don't remember the exact Jira number. Regards, Vinay On Mon, Nov 10, 2014 at 7:13 AM, Haohui Mai <h...@hortonworks.com> wrote: > Guava did make the lives of Hadoop development easier in many cases -- What > I've been consistently hearing is that the version of Guava used is Hadoop > is so old that it starts to hurt the application developers. > > I appreciate the value of Guava -- things like CacheMap are fairly > difficult to implement efficiently and correctly. > > I think that creating separate client libraries for Hadoop can largely > alleviate the problem -- obviously these libraries cannot use Guava, but it > allows us to use Guava's help on the server side. For example, HDFS-6200 is > one of the initiatives. > > Just my two cents. > > Regards, > Haohui > > On Sun, Nov 9, 2014 at 4:42 PM, Arun C Murthy <a...@hortonworks.com> wrote: > > > … has been a constant pain w.r.t compatibility etc. > > > > Should we consider adopting a policy to not use guava in > Common/HDFS/YARN? > > > > MR doesn't matter too much since it's application-side issue, it does > hurt > > end-users though since they still might want a newer guava-version, but > at > > least they can modify MR. > > > > Thoughts? > > > > thanks, > > Arun > > > > > > -- > > CONFIDENTIALITY NOTICE > > NOTICE: This message is intended for the use of the individual or entity > to > > which it is addressed and may contain information that is confidential, > > privileged and exempt from disclosure under applicable law. If the reader > > of this message is not the intended recipient, you are hereby notified > that > > any printing, copying, dissemination, distribution, disclosure or > > forwarding of this communication is strictly prohibited. If you have > > received this communication in error, please contact the sender > immediately > > and delete it from your system. Thank You. > > > > -- > CONFIDENTIALITY NOTICE > NOTICE: This message is intended for the use of the individual or entity to > which it is addressed and may contain information that is confidential, > privileged and exempt from disclosure under applicable law. If the reader > of this message is not the intended recipient, you are hereby notified that > any printing, copying, dissemination, distribution, disclosure or > forwarding of this communication is strictly prohibited. If you have > received this communication in error, please contact the sender immediately > and delete it from your system. Thank You. >