You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by fe...@apache.org on 2022/12/08 14:06:24 UTC
[incubator-kyuubi] branch branch-1.6 updated: [KYUUBI #3947] Log the engine id for alive probe failure
This is an automated email from the ASF dual-hosted git repository.
feiwang pushed a commit to branch branch-1.6
in repository https://gitbox.apache.org/repos/asf/incubator-kyuubi.git
The following commit(s) were added to refs/heads/branch-1.6 by this push:
new bcdd1b2a0 [KYUUBI #3947] Log the engine id for alive probe failure
bcdd1b2a0 is described below
commit bcdd1b2a099805b0a4c0bd4af059d91504307e2d
Author: fwang12 <fw...@ebay.com>
AuthorDate: Thu Dec 8 22:06:04 2022 +0800
[KYUUBI #3947] Log the engine id for alive probe failure
### _Why are the changes needed?_
Provide more insights for the aliveness probe failure.
### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible
- [ ] Add screenshots for manual tests if appropriate
- [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request
Closes #3947 from turboFei/alive_log.
Closes #3947
e52638b4d [fwang12] log engine id
Authored-by: fwang12 <fw...@ebay.com>
Signed-off-by: fwang12 <fw...@ebay.com>
(cherry picked from commit 6d15edd7d1fd41727b7d07575349150b2497153e)
Signed-off-by: fwang12 <fw...@ebay.com>
---
.../scala/org/apache/kyuubi/client/KyuubiSyncThriftClient.scala | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/kyuubi-server/src/main/scala/org/apache/kyuubi/client/KyuubiSyncThriftClient.scala b/kyuubi-server/src/main/scala/org/apache/kyuubi/client/KyuubiSyncThriftClient.scala
index 4420916e2..ed31331f0 100644
--- a/kyuubi-server/src/main/scala/org/apache/kyuubi/client/KyuubiSyncThriftClient.scala
+++ b/kyuubi-server/src/main/scala/org/apache/kyuubi/client/KyuubiSyncThriftClient.scala
@@ -92,11 +92,11 @@ class KyuubiSyncThriftClient private (
remoteEngineBroken = false
} catch {
case e: Throwable =>
- warn(s"The engine alive probe fails", e)
+ warn(s"The engine[$engineId] alive probe fails", e)
val now = System.currentTimeMillis()
if (now - engineLastAlive > engineAliveTimeout) {
- error("Mark the engine not alive with no recent alive probe success:" +
- s" ${now - engineLastAlive} ms exceeds timeout $engineAliveTimeout ms")
+ error(s"Mark the engine[$engineId] not alive with no recent alive probe" +
+ s" success: ${now - engineLastAlive} ms exceeds timeout $engineAliveTimeout ms")
remoteEngineBroken = true
}
}