You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Yaqian Zhang (Jira)" <ji...@apache.org> on 2021/11/01 02:47:00 UTC

[jira] [Commented] (KYLIN-5110) Kylin Tomcat Server not starting

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

Yaqian Zhang commented on KYLIN-5110:
-------------------------------------

Hi [~swaza10]: 
It seems that the problem is caused by loading the wrong version of the jar package. I wonder if you deploy kylin on EMR according to this document: https://kylin.apache.org/docs31/install/kylin_aws_emr.html?

> Kylin Tomcat Server not starting
> --------------------------------
>
>                 Key: KYLIN-5110
>                 URL: https://issues.apache.org/jira/browse/KYLIN-5110
>             Project: Kylin
>          Issue Type: Bug
>          Components: Environment 
>    Affects Versions: v3.1.2
>         Environment: The installation is on  Amazon  Linux 2 AMI. 
> KYLIN VERSION =  3.1.2
> Here are the application versions on the EMR
> "Applications": [
>       {
>                 "Version": "2.10.1", 
>                 "Name": "Hadoop"
>             }, 
>             {
>                 "Version": "2.3.7", 
>                 "Name": "Hive"
>             }, 
>             {
>                 "Version": "2.4.7", 
>                 "Name": "Spark"
>             }, 
>             {
>                 "Version": "1.4.13", 
>                 "Name": "HBase"
>             }, 
>             {
>                 "Version": "3.4.14", 
>                 "Name": "ZooKeeper"
>             }
>         ], 
>            Reporter: Sanjay Waza
>            Priority: Blocker
>
> I installed Kylin 3.1.2 using the  file /usr/local/kylin/apache-kylin-3.1.2-bin-hbase1x.
> When i try to start the tomcat server by running $KYLIN_HOME/bin/kylin.sh start, I get the following errors 
>  
> OpenJDK 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:/usr/lib/hive/lib/log4j-slf4j-impl-2.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/usr/lib/spark/jars/slf4j-log4j12-1.7.16.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/usr/lib/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.apache.logging.slf4j.Log4jLoggerFactory]
> usage: java org.apache.catalina.startup.Catalina [ -config \{pathname} ] [ -nonaming ]  { -help | start | stop }
> Oct 26, 2021 9:18:48 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [:/usr/lib/hadoop-lzo/lib/native:/usr/lib/hadoop/lib/native]
> Oct 26, 2021 9:18:49 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-bio-7070"]
> Oct 26, 2021 9:18:49 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 669 ms
> Oct 26, 2021 9:18:49 PM org.apache.catalina.core.StandardService startInternal
> INFO: Starting service [Catalina]
> Oct 26, 2021 9:18:49 PM org.apache.catalina.core.StandardEngine startInternal
> INFO: Starting Servlet Engine: Apache Tomcat/7.0.100
> Oct 26, 2021 9:18:49 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive [/usr/local/kylin/apache-kylin-3.1.1-bin-hbase1x/tomcat/webapps/kylin.war]
> Oct 26, 2021 9:18:50 PM org.apache.catalina.core.ContainerBase addChildInternal
> SEVERE: ContainerBase.addChild: start:
> org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/kylin]]
>         at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
>         at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1016)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:992)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639)
>         at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1127)
>         at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:2020)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>         at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.NoSuchMethodError: org.apache.tomcat.JarScanner.scan(Lorg/apache/tomcat/JarScanType;Ljavax/servlet/ServletContext;Lorg/apache/tomcat/JarScannerCallback;)V
>         at org.apache.jasper.servlet.TldScanner.scanJars(TldScanner.java:262)
>         at org.apache.jasper.servlet.TldScanner.scan(TldScanner.java:106)
>         at org.apache.jasper.servlet.JasperInitializer.onStartup(JasperInitializer.java:103)
>         at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5709)
>         at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
>         ... 10 more



--
This message was sent by Atlassian Jira
(v8.3.4#803005)