Hi:

You can try this:

Download guava 28.jar from 
https://repo1.maven.org/maven2/com/google/guava/guava/28.0-jre/guava-28.0-jre.jar
 
<https://repo1.maven.org/maven2/com/google/guava/guava/28.0-jre/guava-28.0-jre.jar>
  and put the package into $KYLIN_HOME/tool/ and $KYLIN_HOME/tomcat/lib/, then 
restart Kylin.

> 在 2020年12月4日,15:39,刘波 <[email protected]> 写道:
> 
> ambari 2.7.4
> hdp3.1.4
> kylin apache-kylin-3.1.1-bin-hadoop3
> 
> 
> [root@hadoop5 ~]# kylin.sh start
> Retrieving hadoop conf dir...
> ...................................................[PASS]
> KYLIN_HOME is set to /root/apache-kylin-3.1.1-bin-hadoop3
> Checking HBase
> ...................................................[PASS]
> Checking hive
> ...................................................[PASS]
> Checking hadoop shell
> ...................................................[PASS]
> Checking hdfs working dir
> ...................................................[PASS]
> Retrieving Spark dependency...
> Optional dependency spark not found, if you need this; set SPARK_HOME, or run 
> bin/download-spark.sh
> ...................................................[PASS]
> Retrieving Flink dependency...
> Optional dependency flink not found, if you need this; set FLINK_HOME, or run 
> bin/download-flink.sh
> ...................................................[PASS]
> Retrieving kafka dependency...
> Couldn't find kafka home. If you want to enable streaming processing, Please 
> set KAFKA_HOME to the path which contains kafka dependencies.
> ...................................................[PASS]
> 
> Checking environment finished successfully. To check again, run 
> 'bin/check-env.sh' manually.
> Using cached dependency...
> skip spark_dependency
> skip flink_dependency
> Start to check whether we need to migrate acl tables
> Using cached dependency...
> skip spark_dependency
> skip flink_dependency
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; 
> support was removed in 8.0
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in 
> [jar:file:/root/apache-kylin-3.1.1-bin-hadoop3/tool/kylin-tool-3.1.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in 
> [jar:file:/usr/hdp/3.1.4.0-315/phoenix/phoenix-5.0.0.3.1.4.0-315-server.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in 
> [jar:file:/usr/hdp/3.1.4.0-315/hadoop/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
> explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
> 2020-12-04 15:38:35,011 INFO  [main] common.KylinConfig:118 : Loading 
> kylin-defaults.properties from 
> file:/root/apache-kylin-3.1.1-bin-hadoop3/tool/kylin-tool-3.1.1.jar!/kylin-defaults.properties
> 2020-12-04 15:38:35,031 INFO  [main] common.KylinConfig:352 : Use 
> KYLIN_HOME=/root/apache-kylin-3.1.1-bin-hadoop3
> 2020-12-04 15:38:35,034 INFO  [main] common.KylinConfig:153 : Initialized a 
> new KylinConfig from getInstanceFromEnv : 660017404
> 2020-12-04 15:38:35,081 INFO  [main] persistence.ResourceStore:90 : Using 
> metadata url kylin_metadata@hbase for resource store
> Exception in thread "main" java.lang.IllegalArgumentException: Failed to find 
> metadata store by url: kylin_metadata@hbase
>       at 
> org.apache.kylin.common.persistence.ResourceStore.createResourceStore(ResourceStore.java:101)
>       at 
> org.apache.kylin.common.persistence.ResourceStore.getStore(ResourceStore.java:113)
>       at 
> org.apache.kylin.rest.service.AclTableMigrationTool.checkIfNeedMigrate(AclTableMigrationTool.java:99)
>       at 
> org.apache.kylin.tool.AclTableMigrationCLI.main(AclTableMigrationCLI.java:43)
> Caused by: java.lang.reflect.InvocationTargetException
>       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>       at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>       at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>       at 
> org.apache.kylin.common.persistence.ResourceStore.createResourceStore(ResourceStore.java:94)
>       ... 3 more
> 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)
>       ... 8 more
> 2020-12-04 15:38:35,257 INFO  [close-hbase-conn] hbase.HBaseConnection:138 : 
> Closing HBase connections...
> ERROR: Unknown error. Please check full log.
> 

Reply via email to