You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kyuubi.apache.org by GitBox <gi...@apache.org> on 2021/11/24 14:22:37 UTC

[GitHub] [incubator-kyuubi] zhenjiaguo opened a new issue #1449: [Bug] Kyuubi server not stop when failed to initialize frontend service

zhenjiaguo opened a new issue #1449:
URL: https://github.com/apache/incubator-kyuubi/issues/1449


   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Describe the bug
   
   When I config like this:
   ```conf
   kyuubi.authentication=Non
   ```
   Kyuubi server fail to start but not stop. Log:
   ```
   2021-11-24 21:43:45.332 WARN kyuubi.Utils: jia-pc was resolved to a loopback address: 127.0.1.1, using 192.168.83.190
   Exception in thread "main" org.apache.kyuubi.KyuubiException: Failed to initialize frontend service on /192.168.83.190:10009.
           at org.apache.kyuubi.service.ThriftBinaryFrontendService.initialize(ThriftBinaryFrontendService.scala:110)
           at org.apache.kyuubi.service.CompositeService.$anonfun$initialize$1(CompositeService.scala:40)
           at org.apache.kyuubi.service.CompositeService.$anonfun$initialize$1$adapted(CompositeService.scala:40)
           at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
           at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
           at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
           at org.apache.kyuubi.service.CompositeService.initialize(CompositeService.scala:40)
           at org.apache.kyuubi.service.Serverable.initialize(Serverable.scala:46)
           at org.apache.kyuubi.server.KyuubiServer.initialize(KyuubiServer.scala:155)
           at org.apache.kyuubi.server.KyuubiServer$.startServer(KyuubiServer.scala:93)
           at org.apache.kyuubi.server.KyuubiServer$.main(KyuubiServer.scala:122)
           at org.apache.kyuubi.server.KyuubiServer.main(KyuubiServer.scala)
   Caused by: java.lang.IllegalArgumentException: the authentication type should be one or more of NOSASL,NONE,LDAP,KERBEROS,CUSTOM
           at org.apache.kyuubi.config.TypedConfigBuilder.$anonfun$checkValue$1(ConfigBuilder.scala:139)
           at org.apache.kyuubi.config.TypedConfigBuilder.$anonfun$transform$1(ConfigBuilder.scala:134)
           at scala.Option.map(Option.scala:230)
           at org.apache.kyuubi.config.ConfigEntryWithDefault.readFrom(ConfigEntry.scala:96)
           at org.apache.kyuubi.config.KyuubiConf.get(KyuubiConf.scala:87)
           at org.apache.kyuubi.service.authentication.KyuubiAuthenticationFactory.<init>(KyuubiAuthenticationFactory.scala:39)
           at org.apache.kyuubi.service.ThriftBinaryFrontendService.initialize(ThriftBinaryFrontendService.scala:80)
           ... 11 more
   ```
   Shell:
   ```shell
   $ ps -ef | grep kyuubi
   jia       385782    1946  0 21:43 pts/8    00:00:09 /usr/lib/jvm/java-1.8.0-openjdk-amd64/bin/java -cp /home/jia/work/apache-kyuubi-1.4.0-SNAPSHOT-bin-2021-11-24/jars/*:/home/jia/work/apache-kyuubi-1.4.0-SNAPSHOT-bin-2021-11-24/conf: org.apache.kyuubi.server.KyuubiServer
   jia       387432  384429  0 22:03 pts/8    00:00:00 vim /home/jia/work/apache-kyuubi-1.4.0-SNAPSHOT-bin-2021-11-24/logs/kyuubi-jia-org.apache.kyuubi.server.KyuubiServer-jia-pc.out
   jia       388911  301567  0 22:19 pts/2    00:00:00 grep --color=auto kyuubi
   $ lsof -i:10009
   $ 
   ```
   
   ### Affects Version(s)
   
   master
   
   ### Kyuubi Server Log Output
   
   _No response_
   
   ### Kyuubi Engine Log Output
   
   _No response_
   
   ### Kyuubi Server Configurations
   
   _No response_
   
   ### Kyuubi Engine Configurations
   
   _No response_
   
   ### Additional context
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
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: dev-unsubscribe@kyuubi.apache.org

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



[GitHub] [incubator-kyuubi] yaooqinn closed issue #1449: [Bug] Kyuubi server not stop when failed to initialize frontend service

Posted by GitBox <gi...@apache.org>.
yaooqinn closed issue #1449:
URL: https://github.com/apache/incubator-kyuubi/issues/1449


   


-- 
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: dev-unsubscribe@kyuubi.apache.org

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



[GitHub] [incubator-kyuubi] corundumservice commented on issue #1449: [Bug] Kyuubi server not stop when failed to initialize frontend service

Posted by GitBox <gi...@apache.org>.
corundumservice commented on issue #1449:
URL: https://github.com/apache/incubator-kyuubi/issues/1449#issuecomment-977929098


   Full Stack Android & iOS Developer, Web Application, Java & Spring, Swift & SwiftUI, Flutter, Kotlin, Selenium, SQL, AWS, Laravel, Providing IT – Services Without Upfront Payment
   
   Providing Service: Android iOS App Development, Web Application Development, Software Testing, Web Services
   
   Programming Language: Java, Flutter, Kotlin, Swift, SwiftUI, Php, Dart, C, Jakarta EE, Java Enterprise edition
   
   Frameworks: Spring Framework, Spring Boot, Spring MVC, Laravel
   
   Database Technologies: Oracle, Oracle SQL, MySql, SQLite, Core Data, Hibernate, SQL
   
   Web Automation Testing & Mobile Automation Testing: Selenium, Selenium Webdriver, Selenium Grid, TestNG, Maven, ANT, Log4j, Cucumber, Appium Mobile Testing, Spring Boot Unit Testing (Mockito &MVC), SQL-Data Base Testing, Web Security Testing
   
   Developer Tools, Technologies & Other Skills: Android Development, iOS Development, Software Testing, Machine Learning, Selenium, ARKit, Core ML, GitHub, Apache, SpriteKit, Cloud Firestore, Firebase, Selenium WebDriver, Appium, Augmented Reality (AR), Virtual Reality (VR), Full-Stack Development, J2EE Web Services, Selenium Grid, Web Automation Testing, RealityKit, Spring Web MVC, Mobile Automation Testing, IntelliJ IDEA, PhpStorm, CLion, Android Studio, XCode, Amazon Aws
   #android #ios #softwaredevelopment #webdevelopment #softwaretesting #development
   https://www.linkedin.com/in/manoj-kumar-1664a8155/
   


-- 
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: dev-unsubscribe@kyuubi.apache.org

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