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/10/25 03:26:48 UTC
[GitHub] [incubator-kyuubi] yaooqinn opened a new issue #1281: [Bug] Give a nice look for error detecting from engine log
yaooqinn opened a new issue #1281:
URL: https://github.com/apache/incubator-kyuubi/issues/1281
### 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
##### Before
```logtalk
Cause: java.lang.RuntimeException: org.apache.kyuubi.KyuubiSQLException:Failed to detect the root cause, please check /home/runner/work/incubator-kyuubi/incubator-kyuubi/kyuubi-server/target/work/runner/kyuubi-spark-sql-engine.log.12 at server side if necessary. The last 10 line(s) of log is: 2021-10-25 02:57:44.791 INFO session.SparkSQLSessionManager: Service[SparkSQLSessionManager] is stopped.
2021-10-25 02:57:54.792 INFO spark.SparkSQLBackendService: Service[SparkSQLBackendService] is stopped.
2021-10-25 02:57:54.792 INFO spark.SparkSQLEngine: Service[SparkSQLEngine] is stopped.
2021-10-25 02:57:54.792 INFO zookeeper.ClientCnxn: EventThread shut down for session: 0x100000ce3c00025
2021-10-25 02:57:54.793 INFO events.EventLoggingService: Service[EventLogging] is stopped.
2021-10-25 02:57:54.796 INFO storage.DiskBlockManager: Shutdown hook called
2021-10-25 02:57:54.800 INFO util.ShutdownHookManager: Shutdown hook called
2021-10-25 02:57:54.801 INFO util.ShutdownHookManager: Deleting directory /tmp/spark-0f41791e-aad8-402d-b50d-abf5b653e4af
2021-10-25 02:57:54.807 INFO util.ShutdownHookManager: Deleting directory /tmp/spark-198a4508-071e-4007-80b0-d5e9de9363a5
2021-10-25 02:57:54.810 INFO util.ShutdownHookManager: Deleting directory /tmp/spark-198a4508-071e-4007-80b0-d5e9de9363a5/userFiles-3e67363d-ff2a-44bc-9350-24decb3a0100
at org.apache.kyuubi.KyuubiSQLException$.apply(KyuubiSQLException.scala:69)
at org.apache.kyuubi.engine.ProcBuilder.getError(ProcBuilder.scala:193)
at org.apache.kyuubi.engine.ProcBuilder.getError$(ProcBuilder.scala:187)
at org.apache.kyuubi.engine.spark.SparkProcessBuilder.getError(SparkProcessBuilder.scala:35)
at org.apache.kyuubi.engine.EngineRef.$anonfun$create$1(EngineRef.scala:204)
at org.apache.kyuubi.engine.EngineRef.tryWithLock(EngineRef.scala:156)
at org.apache.kyuubi.engine.EngineRef.create(EngineRef.scala:168)
at org.apache.kyuubi.engine.EngineRef.$anonfun$getOrCreate$1(EngineRef.scala:222)
at scala.Option.getOrElse(Option.scala:189)
at org.apache.kyuubi.engine.EngineRef.getOrCreate(EngineRef.scala:222)
```
##### After
```logtalk
Cause: java.lang.RuntimeException: org.apache.kyuubi.KyuubiSQLException:Failed to detect the root cause, please check /home/runner/work/incubator-kyuubi/incubator-kyuubi/kyuubi-server/target/work/runner/kyuubi-spark-sql-engine.log.12 at server side if necessary. The last 10 line(s) of log are:
2021-10-25 02:57:44.791 INFO session.SparkSQLSessionManager: Service[SparkSQLSessionManager] is stopped.
2021-10-25 02:57:54.792 INFO spark.SparkSQLBackendService: Service[SparkSQLBackendService] is stopped.
2021-10-25 02:57:54.792 INFO spark.SparkSQLEngine: Service[SparkSQLEngine] is stopped.
2021-10-25 02:57:54.792 INFO zookeeper.ClientCnxn: EventThread shut down for session: 0x100000ce3c00025
2021-10-25 02:57:54.793 INFO events.EventLoggingService: Service[EventLogging] is stopped.
2021-10-25 02:57:54.796 INFO storage.DiskBlockManager: Shutdown hook called
2021-10-25 02:57:54.800 INFO util.ShutdownHookManager: Shutdown hook called
2021-10-25 02:57:54.801 INFO util.ShutdownHookManager: Deleting directory /tmp/spark-0f41791e-aad8-402d-b50d-abf5b653e4af
2021-10-25 02:57:54.807 INFO util.ShutdownHookManager: Deleting directory /tmp/spark-198a4508-071e-4007-80b0-d5e9de9363a5
2021-10-25 02:57:54.810 INFO util.ShutdownHookManager: Deleting directory /tmp/spark-198a4508-071e-4007- 80b0-d5e9de9363a5/userFiles-3e67363d-ff2a-44bc-9350-24decb3a0100
at org.apache.kyuubi.KyuubiSQLException$.apply(KyuubiSQLException.scala:69)
at org.apache.kyuubi.engine.ProcBuilder.getError(ProcBuilder.scala:193)
at org.apache.kyuubi.engine.ProcBuilder.getError$(ProcBuilder.scala:187)
at org.apache.kyuubi.engine.spark.SparkProcessBuilder.getError(SparkProcessBuilder.scala:35)
at org.apache.kyuubi.engine.EngineRef.$anonfun$create$1(EngineRef.scala:204)
at org.apache.kyuubi.engine.EngineRef.tryWithLock(EngineRef.scala:156)
at org.apache.kyuubi.engine.EngineRef.create(EngineRef.scala:168)
at org.apache.kyuubi.engine.EngineRef.$anonfun$getOrCreate$1(EngineRef.scala:222)
at scala.Option.getOrElse(Option.scala:189)
at org.apache.kyuubi.engine.EngineRef.getOrCreate(EngineRef.scala:222)
```
### Affects Version(s)
1.4.0
### 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?
- [ ] 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] jadireddi commented on issue #1281: [Bug] Give a nice look for error detecting from engine log
Posted by GitBox <gi...@apache.org>.
jadireddi commented on issue #1281:
URL: https://github.com/apache/incubator-kyuubi/issues/1281#issuecomment-955570879
PR for this issue: https://github.com/apache/incubator-kyuubi/pull/1316
--
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 #1281: [Bug] Give a nice look for error detecting from engine log
Posted by GitBox <gi...@apache.org>.
yaooqinn closed issue #1281:
URL: https://github.com/apache/incubator-kyuubi/issues/1281
--
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