You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@linkis.apache.org by "liuzj-github (via GitHub)" <gi...@apache.org> on 2023/05/11 11:45:14 UTC

[GitHub] [linkis] liuzj-github opened a new issue, #4532: Unable to start embedded Jetty server

liuzj-github opened a new issue, #4532:
URL: https://github.com/apache/linkis/issues/4532

   ### Before asking
   
   - [X] I have read the [How to ask for help](https://linkis.apache.org/community/how-to-ask-for-help) (我已阅读[如何寻求帮助](https://linkis.apache.org/zh-CN/community/how-to-ask-for-help)指引文档).
   
   
   ### Your environment
   
   <!-- Please describe the linkis version you are using and basic environment information -->
   <!-- 请描述您使用的linkis版本和基本环境信息 -->
   - Linkis version used: 1.3.2
   - Environment name and version:
       - mrs-3.2.0
       - hive-3.1.0-h0.cbu.mrs.320.r11
       - spark-.1.1-h0.cbu.mrs.320.r11
       - scala-2.12.15
       - jdk 1.8.0_121
       - ....
   
   
   ### Describe your questions
   
   <!-- Please describe your questions -->
   <!-- 请描述您的问题 -->
   Q1.  ..执行linkis-cli-hive,无法启动hive引擎服务,Unable to start embedded Jetty server,经排查是hive-exec依赖包javax.servlet.jsp与linkis的jetty发生冲突,不知道怎么解决
   
   
   ### Eureka service list
   
   <!-- You can directly copy and paste the screenshot of the list of registered service instances displayed on the Eureka page here -->
   <!--  可以将Eureka页面显示的注册服务实例列表的的截图 直接复制并粘贴到这里。 粘贴后,会自动生成如下格式的url-->
   
   eg:![image](https://user-images.githubusercontent.com/7869972/183326205-381b4e30-c727-44ba-8197-9998da78b1e3.png)
   
   
   ### Some logs info or acctch file
   
   <!-- Please add the log in the following format, the key error log must be pasted in the code style, and the text as much as possible, the detailed log or other files can be dragged and uploaded as an attachment -->
   <!-- 请按如下格式 添加日志,关键错误日志请贴到[````log][````]之间,尽可能贴文字,详细日志或则其它文件,可以拖拽上传作为附件 -->
   
   linkis-xxx.log:
   ````log
   
   <!--日志文字贴到这里-->
   2023-05-10 10:40:03.040 ERROR jobRequest(LINKISCLI_drmp_hive_3)  execute failed,21304, Task is Failed,errorMsg: errCode: 12003 ,desc: 172.38.110.125:9101_0 Failed  to async get EngineNode AMErrorException: errCode: 30002 ,desc: ServiceInstance(linkis-cg-engineconn, 172.38.110.125:37008) ticketID:e6f45d87-6a2b-41a5-9cf9-ecb97b795282 Failed to initialize engine, reason: Failed to start EngineConn, reason: ECMErrorException: errCode: 11102 ,desc: 10:40:01.556 ERROR org.springframework.boot.SpringApplication 834 reportFailure - Application run failed org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Jetty server
   	at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:185) ~[spring-context-5.2.22.RELEASE.jar:5.2.22.RELEASE]
   	at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:53) ~[spring-context-5.2.22.RELEASE.jar:5.2.22.RELEASE]
   	at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:360) ~[spring-context-5.2.22.RELEASE.jar:5.2.22.RELEASE]
   	at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:158) ~[spring-context-5.2.22.RELEASE.jar:5.2.22.RELEASE]
   	at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:122) ~[spring-context-5.2.22.RELEASE.jar:5.2.22.RELEASE]
   	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:895) ~[spring-context-5.2.22.RELEASE.jar:5.2.22.RELEASE]
   	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:554) ~[spring-context-5.2.22.RELEASE.jar:5.2.22.RELEASE]
   	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143) ~[spring-boot-2.3.12.RELEASE.jar:2.3.12.RELEASE]
   	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:755) ~[spring-boot-2.3.12.RELEASE.jar:2.3.12.RELEASE]
   	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) ~[spring-boot-2.3.12.RELEASE.jar:2.3.12.RELEASE]
   	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:402) ~[spring-boot-2.3.12.RELEASE.jar:2.3.12.RELEASE]
   	at org.springframework.boot.SpringApplication.run(SpringApplication.java:312) ~[spring-boot-2.3.12.RELEASE.jar:2.3.12.RELEASE]
   	at org.apache.linkis.DataWorkCloudApplication.main(DataWorkCloudApplication.java:111) ~[linkis-module-1.3.2.jar:1.3.2]
   	at org.apache.linkis.engineconn.callback.hook.CallbackEngineConnHook.beforeCreateEngineConn(CallbackEngineConnHook.scala:60) ~[linkis-accessible-executor-1.3.2.jar:1.3.2]
   	at org.apache.linkis.engineconn.launch.EngineConnServer$.$anonfun$main$1(EngineConnServer.scala:85) ~[linkis-engineconn-core-1.3.2.jar:1.3.2]
   	at org.apache.linkis.engineconn.launch.EngineConnServer$.$anonfun$main$1$adapted(EngineConnServer.scala:85) ~[linkis-engineconn-core-1.3.2.jar:1.3.2]
   	at scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:36) ~[scala-library-2.12.15.jar:?]
   	at scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:33) ~[scala-library-2.12.15.jar:?]
   	at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:198) ~[scala-library-2.12.15.jar:?]
   	at org.apache.linkis.engineconn.launch.EngineConnServer$.main(EngineConnServer.scala:85) ~[linkis-engineconn-core-1.3.2.jar:1.3.2]
   	at org.apache.linkis.engineconn.launch.EngineConnServer.main(EngineConnServer.scala) ~[linkis-engineconn-core-1.3.2.jar:1.3.2]
   Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded Jetty server
   	at org.springframework.boot.web.embedded.jetty.JettyWebServer.start(JettyWebServer.java:194) ~[spring-boot-2.3.12.RELEASE.jar:2.3.12.RELEASE]
   	at org.springframework.boot.web.servlet.context.WebServerStartStopLifecycle.start(WebServerStartStopLifecycle.java:43) ~[spring-boot-2.3.12.RELEASE.jar:2.3.12.RELEASE]
   	at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:182) ~[spring-context-5.2.22.RELEASE.jar:5.2.22.RELEASE]
   	... 20 more
   Caused by: java.lang.IllegalStateException
   	at org.eclipse.jetty.servlet.ServletHolder.setClassFrom(ServletHolder.java:300) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
   	at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:347) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
   	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.48.v20220622.jar:9.4.48.v20220622]
   	at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:749) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
   	at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:357) ~[?:1.8.0_332]
   	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:483) ~[?:1.8.0_332]
   	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_332]
   	at java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:313) ~[?:1.8.0_332]
   	at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743) ~[?:1.8.0_332]
   	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:647) ~[?:1.8.0_332]
   	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:774) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
   	at org.springframework.boot.web.embedded.jetty.JettyEmbeddedWebAppContext$JettyEmbeddedServletHandler.deferredInitialize(JettyEmbeddedWebAppContext.java:46) ~[spring-boot-2.3.12.RELEASE.jar:2.3.12.RELEASE]
   	at org.springframework.boot.web.embedded.jetty.JettyEmbeddedWebAppContext.deferredInitialize(JettyEmbeddedWebAppContext.java:36) ~[spring-boot-2.3.12.RELEASE.jar:2.3.12.RELEASE]
   	at org.springframework.boot.web.embedded.jetty.JettyWebServer.handleDeferredInitialize(JettyWebServer.java:233) ~[spring-boot-2.3.12.RELEASE.jar:2.3.12.RELEASE]
   	at org.springframework.boot.web.embedded.jetty.JettyWebServer.start(JettyWebServer.java:169) ~[spring-boot-2.3.12.RELEASE.jar:2.3.12.RELEASE]
   	at org.springframework.boot.web.servlet.context.WebServerStartStopLifecycle.start(WebServerStartStopLifecycle.java:43) ~[spring-boot-2.3.12.RELEASE.jar:2.3.12.RELEASE]
   	at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:182) ~[spring-context-5.2.22.RELEASE.jar:5.2.22.RELEASE]
   ````
   log file:
    <!-- 拖拽上传后,会自动生成如下示例格式的附件url -->
   [linkis-xxx.log](https://github.com/apache/linkis/files/9219529/yarn-error.log)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


Re: [I] Unable to start embedded Jetty server [linkis]

Posted by "ryze124 (via GitHub)" <gi...@apache.org>.
ryze124 commented on issue #4532:
URL: https://github.com/apache/linkis/issues/4532#issuecomment-2046913692

   > 问题解决,降低jetty版本
   
   jetty降到哪个版本?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [linkis] casionone closed issue #4532: Unable to start embedded Jetty server

Posted by "casionone (via GitHub)" <gi...@apache.org>.
casionone closed issue #4532: Unable to start embedded Jetty server
URL: https://github.com/apache/linkis/issues/4532


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [linkis] liuzj-github commented on issue #4532: Unable to start embedded Jetty server

Posted by "liuzj-github (via GitHub)" <gi...@apache.org>.
liuzj-github commented on issue #4532:
URL: https://github.com/apache/linkis/issues/4532#issuecomment-1548833182

   问题解决,降低jetty版本


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [linkis] casionone commented on issue #4532: Unable to start embedded Jetty server

Posted by "casionone (via GitHub)" <gi...@apache.org>.
casionone commented on issue #4532:
URL: https://github.com/apache/linkis/issues/4532#issuecomment-1545626238

   Can you list the conflicting jar packages?
   with file path and package name
   such as 
   ```
   linkis/lib/linkis-engineconn-plugins/spark/dist/2.3.0/lib/jetty-security-9.4.48.v20220622.jar
   xxxx
   ···


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [linkis] github-actions[bot] commented on issue #4532: Unable to start embedded Jetty server

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4532:
URL: https://github.com/apache/linkis/issues/4532#issuecomment-1543846878

   ## :blush:  Welcome to the Apache Linkis community!!
   We are glad that you are contributing by opening this issue.
   
   Please make sure to include all the relevant context.
   We will be here shortly.
   
   If you are interested in contributing to our website project, please let us know!
   You can check out our contributing guide on
    :point_right:  [How to Participate in Project Contribution](https://linkis.apache.org/community/how-to-contribute).
   
   
   ### Community
   
   |WeChat Assistant|WeChat Public Account|
   |-|-|
   |<img src="https://linkis.apache.org/Images/wedatasphere_contact_01.png" width="128"/>|<img src="https://linkis.apache.org/Images/gzh_01.png" width="128"/>|
   
   
   ### Mailing Lists
   |Name|Description|Subscribe|Unsubscribe|Archive|
   |:-----|:--------|:------|:-------|:-----|
   | [dev@linkis.apache.org](mailto:dev@linkis.apache.org) | community activity information | [subscribe](mailto:dev-subscribe@linkis.apache.org) | [unsubscribe](mailto:dev-unsubscribe@linkis.apache.org) | [archive](http://mail-archives.apache.org/mod_mbox/linkis-dev) |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org