You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@kylin.apache.org by Discovery <wl...@qq.com> on 2020/07/23 03:25:41 UTC

About KYLIN-4289-java.lang.NoSuchMethodError: com.google.common.hash.Hasher.putString

Hi Kylin Team,


&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;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.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Could anyone give me some advice on how to get rid of this issue? Thanks a lot .




Best Regards
Discovery

Re: About KYLIN-4289-java.lang.NoSuchMethodError: com.google.common.hash.Hasher.putString

Posted by Yaqian Zhang <Ya...@126.com>.
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 <wl...@qq.com> 写道:
> 
> 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" <Ya...@126.com>;
> 发送时间: 2020年7月23日(星期四) 下午2:11
> 收件人: "user"<us...@kylin.apache.org>;
> 主题: 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 <wl...@qq.com> 写道:
> > 
> > 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
> 


回复: About KYLIN-4289-java.lang.NoSuchMethodError: com.google.common.hash.Hasher.putString

Posted by Discovery <wl...@qq.com>.
Hi Yaqian,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;I tried kylin 3.1.0 , it run into anothe issue when starting kylin service, and I use official 3.1.0 binary distribution.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;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&gt;(HBaseResourceStore.java:89)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;I think the guava&nbsp;Version Compatibility&nbsp;issue affects so much on kylin's stability and&nbsp;usability, it make kylin 2.6.x - 3.1.0 versions can not easily work on HDP 3.1.x.&nbsp;


------------------&nbsp;原始邮件&nbsp;------------------
发件人:                                                                                                                        "user"                                                                                    <Yaqian_Zhang@126.com&gt;;
发送时间:&nbsp;2020年7月23日(星期四) 下午2:11
收件人:&nbsp;"user"<user@kylin.apache.org&gt;;

主题:&nbsp;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.

&gt; 在 2020年7月23日,11:25,Discovery <wl_428@qq.com&gt; 写道:
&gt; 
&gt; Hi Kylin Team,
&gt; 
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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.
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Could anyone give me some advice on how to get rid of this issue? Thanks a lot .
&gt; 
&gt; 
&gt; Best Regards
&gt; Discovery

Re: About KYLIN-4289-java.lang.NoSuchMethodError: com.google.common.hash.Hasher.putString

Posted by Yaqian Zhang <Ya...@126.com>.
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 <wl...@qq.com> 写道:
> 
> 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