Hi, after put guava-28.jar to $KYLIN_HOME/tool and $KYLIN_HOME/tomcat/lib, 
and start kylin, what's the error messages you met? Can you show the error 
messages?
BTW, is the kylin version you 
downloaded  apache-kylin-3.1.0-bin-hadoop3.tar.gz?







Best regards,
Zhichao Zhang




 




------------------ ???????? ------------------
??????:                                                                         
                                               "user"                           
                                                         <[email protected]&gt;;
????????:&nbsp;2020??7??23??(??????) ????6:03
??????:&nbsp;"user"<[email protected]&gt;;

????:&nbsp;?????? About KYLIN-4289-java.lang.NoSuchMethodError: 
com.google.common.hash.Hasher.putString





Unfortunately??it does NOT work either??but still appreciate your help.
from my testing results:
Kylin 2.6.6 , 3.0.2, 3.1.0 can NOT work on HDP 3.1.4(hadoop 3.1.1,hbase 2.0.2, 
hive 3.1.0)


------------------ ???????? ------------------
??????:                                                                         
                                               "user"                           
                                                         
<[email protected]&gt;;
????????:&nbsp;2020??7??23??(??????) ????4:23
??????:&nbsp;"user"<[email protected]&gt;;

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



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]&gt; ??????

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 Version 
Compatibility&nbsp;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]&gt;;
????????:&nbsp;2020??7??23??(??????) ????2:11
??????:&nbsp;"user"<[email protected]&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 <[email protected]&gt; ??????
&gt; 
&gt; Hi Kylin Team,
&gt; 
&gt;&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; Could anyone give me some advice on how to get rid of this issue? Thanks 
a lot .
&gt; 
&gt; 
&gt; Best Regards
&gt; Discovery

Reply via email to