Yes,so you may need to do something extra to make kylin run in Hadoop 3.1.

You can try as below:

Download guava 28.jar and put it to $KYLIN_HOME/tool and 
$KYLIN_HOME/tomcat/lib, and start kylin.

> 在 2020年7月23日,16:11,Discovery <[email protected]> 写道:
> 
> Hi Yaqian,
>              I tried kylin 3.1.0 , it run into anothe issue when starting 
> kylin service, and I use official 3.1.0 binary distribution.
>              Caused by: java.lang.NoSuchMethodError: 
> com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V
>       at org.apache.hadoop.conf.Configuration.set(Configuration.java:1358)
>       at org.apache.hadoop.conf.Configuration.set(Configuration.java:1339)
>       at 
> org.apache.kylin.common.util.HadoopUtil.healSickConfig(HadoopUtil.java:77)
>       at 
> org.apache.kylin.common.util.HadoopUtil.getCurrentConfiguration(HadoopUtil.java:63)
>       at 
> org.apache.kylin.storage.hbase.HBaseConnection.newHBaseConfiguration(HBaseConnection.java:170)
>       at 
> org.apache.kylin.storage.hbase.HBaseConnection.get(HBaseConnection.java:259)
>       at 
> org.apache.kylin.storage.hbase.HBaseResourceStore.getConnection(HBaseResourceStore.java:96)
>       at 
> org.apache.kylin.storage.hbase.HBaseResourceStore.createHTableIfNeeded(HBaseResourceStore.java:119)
>       at 
> org.apache.kylin.storage.hbase.HBaseResourceStore.<init>(HBaseResourceStore.java:89)
>              I think the guava Version Compatibility 
> <http://www.baidu.com/link?url=d2kbTmkyqEiK8tTteIt76qe6FONgRcmFjOTwxMy9bq80q4sfAk0lVvsvbwe47PukALY9JwjSULTaC4Kh-cB4j9bbnV2SoBnMkQz0bUp-I-WGhmzeRwrFx-uhPO0nRazb>
>  issue affects so much on kylin's stability and usability, it make kylin 
> 2.6.x - 3.1.0 versions can not easily work on HDP 3.1.x. 
> 
> ------------------ 原始邮件 ------------------
> 发件人: "user" <[email protected]>;
> 发送时间: 2020年7月23日(星期四) 下午2:11
> 收件人: "user"<[email protected]>;
> 主题: Re: About KYLIN-4289-java.lang.NoSuchMethodError: 
> com.google.common.hash.Hasher.putString
> 
> Hi Discovery:
> 
> The latest release 3.1.0 upgrade guava to 28-jre and use putUnencodeChars 
> replaced putString. So I think KYLIN-4289 should has been fixed.
> 
> You can try Kylin 3.1.0 on your environment.
> 
> > 在 2020年7月23日,11:25,Discovery <[email protected]> 写道:
> > 
> > Hi Kylin Team,
> > 
> >                I run into KYLIN-4289 issues with Kylin 2.6.6 and Hadoop 
> > 3.1.1+HBase2.0.2+Hive3.1.0, I wonder if this issue is fixed in latest 
> > release 3.1.0? I have checked the release notes and got no fix information 
> > about this bug.
> >                Could anyone give me some advice on how to get rid of this 
> > issue? Thanks a lot .
> > 
> > 
> > Best Regards
> > Discovery
> 

Reply via email to