You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by Liren Ding <sk...@gmail.com> on 2016/01/28 20:35:48 UTC

Hadoop library version issues and conflict

My MR job use following libs:

   - commons-codec-1.9,
   - commons-compress-1.7,
   - guava-12.0.1,
   - httpclient-4.3.1
   - httpcore-4.

But the versions in hadoop libs are:

   - commons-codec-1.4
   - commons-compress-1.4.1
   - guava-11.0.2
   - httpclient-4.2.5
   - httpcore-4.2.5

This conflict causes a "java.lang.NoSuchMethodError" error. One insane
solution is replacing all libs allover the cluster with new versions. But
the approach is not practical in production environment. Is there a decent
way to solve the hadoop libraries version conflict issue?



Liren