[ 
https://issues.apache.org/jira/browse/KYLIN-5143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17462451#comment-17462451
 ] 

tieguanyin commented on KYLIN-5143:
-----------------------------------

总:两者hadoop、hive、hbase、zookeeper等都是一样的,没有区别。唯一的区别就是,一个是在hadoop的HDFS上单机部署的(成功了),另一个是独立于HDFS,通过环境变量和hosts服务器之间通信找到hadoop集群及hive和hbase。
 # hadoop的节点上是部署成功的:是在hadoop的HDFS上,有hadoop进程的服务器上部署
 # 单独部署:是独立于hadoop集群,通过环境变量和hosts找到hadoop。这台服务器,hadoop、hive、hbase的相关命令和配置都是好的。

> 关于org.apache.kylin.shaded.com.google.common启动报错问题
> -------------------------------------------------
>
>                 Key: KYLIN-5143
>                 URL: https://issues.apache.org/jira/browse/KYLIN-5143
>             Project: Kylin
>          Issue Type: Bug
>         Environment: hadoop 2.9.1
> hive 2.3.3
> hbase 1.4.8
> JDK 1.8.0_191
> OS CentOS 7.6.1810
> zookeeper 3.4.12 
> kylin 3.1.2
>            Reporter: tieguanyin
>            Priority: Blocker
>         Attachments: kylin问题.md
>
>
> kylin.out信息:
> 1  Java HotSpot(TM) 64-Bit Server VM warning: ignoring option 
> MaxPermSize=512M; support was removed in 8.0
>      2  SLF4J: Class path contains multiple SLF4J bindings.
>      3  SLF4J: Found binding in 
> [jar:file:/hbase/hbase-1.4.8/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      4  SLF4J: Found binding in 
> [jar:file:/hadoop/hadoop-2.9.1/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      5  SLF4J: Found binding in 
> [jar:file:/hive/apache-hive-2.3.3-bin/lib/log4j-slf4j-impl-2.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      6  SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
> explanation.
>      7  SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
>      8  usage: java org.apache.catalina.startup.Catalina [ -config 
> \{pathname} ] [ -nonaming ]  \{ -help | start | stop }
>      9  log4j:WARN No appenders could be found for logger 
> (net.sf.ehcache.pool.sizeof.filter.AnnotationSizeOfFilter).
>     10  log4j:WARN Please initialize the log4j system properly.
>     11  log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig 
> for more info.
>     12  Java HotSpot(TM) 64-Bit Server VM warning: ignoring option 
> MaxPermSize=512M; support was removed in 8.0
>     13  SLF4J: Class path contains multiple SLF4J bindings.
>     14  SLF4J: Found binding in 
> [jar:file:/hbase/hbase-1.4.8/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>     15  SLF4J: Found binding in 
> [jar:file:/hadoop/hadoop-2.9.1/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>     16  SLF4J: Found binding in 
> [jar:file:/hive/apache-hive-2.3.3-bin/lib/log4j-slf4j-impl-2.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>     17  SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
> explanation.
>     18  SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
>     19  usage: java org.apache.catalina.startup.Catalina [ -config 
> \{pathname} ] [ -nonaming ]  \{ -help | start | stop }
>     20  log4j:WARN No appenders could be found for logger 
> (net.sf.ehcache.pool.sizeof.filter.AnnotationSizeOfFilter).
>     21  log4j:WARN Please initialize the log4j system properly.
>     22  log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig 
> for more info.
>     23  Exception in thread "Thread-11" Exception in thread "Thread-10" 
> java.lang.NoClassDefFoundError: 
> org/apache/curator/framework/imps/GetDataBuilderImpl
>     24          at 
> org.apache.curator.framework.imps.CuratorFrameworkImpl.getData(CuratorFrameworkImpl.java:377)
>     25          at 
> org.apache.kylin.job.lock.zookeeper.ZookeeperDistributedLock.peekLockInternal(ZookeeperDistributedLock.java:220)
>     26          at 
> org.apache.kylin.job.lock.zookeeper.ZookeeperDistributedLock.peekLock(ZookeeperDistributedLock.java:208)
>     27          at 
> org.apache.kylin.job.lock.zookeeper.ZookeeperDistributedLock.unlock(ZookeeperDistributedLock.java:245)
>     28          at 
> org.apache.kylin.job.lock.zookeeper.ZookeeperDistributedLock.unlockJobEngine(ZookeeperDistributedLock.java:359)
>     29          at 
> org.apache.kylin.job.lock.zookeeper.ZookeeperJobLock.unlockJobEngine(ZookeeperJobLock.java:91)
>     30          at 
> org.apache.kylin.job.impl.threadpool.DefaultScheduler.shutdown(DefaultScheduler.java:192)
>     31          at 
> org.apache.kylin.rest.service.JobService$1.run(JobService.java:146)
>     32          at java.lang.Thread.run(Thread.java:748)
>     33  Caused by: java.lang.ClassNotFoundException: 
> org.apache.curator.framework.imps.GetDataBuilderImpl
>     34          at 
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1951)
>     35          at 
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1794)
>     36          ... 9 more
>     37  java.lang.NoClassDefFoundError: 
> org/apache/kylin/shaded/com/google/common/cache/RemovalCause
>     38          at 
> org.apache.kylin.shaded.com.google.common.cache.LocalCache$Segment.clear(LocalCache.java:3197)
>     39          at 
> org.apache.kylin.shaded.com.google.common.cache.LocalCache.clear(LocalCache.java:4270)
>     40          at 
> org.apache.kylin.shaded.com.google.common.cache.LocalCache$LocalManualCache.invalidateAll(LocalCache.java:4909)
>     41          at org.apache.kylin.common.util.ZKUtil$2.run(ZKUtil.java:94)
>     42          at java.lang.Thread.run(Thread.java:748)
>     43  Caused by: java.lang.ClassNotFoundException: 
> org.apache.kylin.shaded.com.google.common.cache.RemovalCause
>     44          at 
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1951)
>     45          at 
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1794)
>     46          ... 5 more
> (!) 其中kylin封装的google common未找到类,请问这个排查和解决方向
> (!) 详细操作和信息在附件:D



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to