Hasher.putString() is removed at gruava 16.0 according to
https://abi-laboratory.pro/java/tracker/compat_report/guava/15.0/16.0/6744e/src_compat_report.html

And yes, downgrade libs is the easiest way out.

Meanwhile, could you share more about your env? Like to understand what
requires a higher gruava version, and if more and more people need that,
then we shall do an upgrade in kylin.

Thanks
Yang

On Wed, Jan 18, 2017 at 5:19 AM, vozerov <[email protected]> wrote:

> Hello!
>
> I am facing with following error while building cube (step 3):
>
> 2017-01-18 00:08:26,498 INFO [main] org.apache.hadoop.mapred.MapTask:
> Finished spill 0
> 2017-01-18 00:08:26,501 ERROR [main] org.apachehadoop.mapred.YarnChild:
> Error running child : java.lang.NoSuchMethodError:
> com.google.common.hash.Hasher.putString(Ljava/lang/
> CharSequence;)Lcom/google/common/hash/Hasher;
>         at
> org.apache.kylin.engine.mr.steps.FactDistinctHiveColumnsMapper.
> putRowKeyToHLL(FactDistinctHiveColumnsMapper.java:181)
>         at
> org.apache.kylin.engine.mr.steps.FactDistinctHiveColumnsMapper.map(
> FactDistinctHiveColumnsMapper.java:155)
>         at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:146)
>         at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:787)
>         at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
>         at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:422)
>         at
> org.apache.hadoop.security.UserGroupInformation.doAs(
> UserGroupInformation.java:1657)
>         at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)
>
> Seems this method was remove at previous guava versions. Should i downgrade
> hadoop libs?
>
>
> --
> View this message in context: http://apache-kylin.74782.x6.
> nabble.com/Guava-version-mismatch-tp6970.html
> Sent from the Apache Kylin mailing list archive at Nabble.com.
>

Reply via email to