[KYUUBI #5754] [MINOR] Fix engine id of the engine probe failures logging messages
Some checks failed
CI / Kyuubi and Spark Test (normal, , 11, 3.1, ) (push) Has been cancelled
CI / Kyuubi and Spark Test (normal, , 11, 3.2, ) (push) Has been cancelled
CI / Kyuubi and Spark Test (normal, , 11, 3.3, ) (push) Has been cancelled
CI / Kyuubi and Spark Test (normal, , 8, 3.1, ) (push) Has been cancelled
CI / Kyuubi and Spark Test (normal, , 8, 3.2, ) (push) Has been cancelled
CI / Kyuubi and Spark Test (normal, , 8, 3.3, ) (push) Has been cancelled
CI / Kyuubi and Spark Test (verify-on-spark-3.1-binary, -Dmaven.plugin.scalatest.exclude.tags=org.scalatest.tags.Slow,org.apache.kyuubi.tags.DeltaTest,org.apache.kyuubi.tags.HudiTest,org.apache.kyuubi.tags.IcebergTest, 8, 3.2, -Dspark.archive.mirror=https:/… (push) Has been cancelled
CI / Kyuubi and Spark Test (verify-on-spark-3.3-binary, -Dmaven.plugin.scalatest.exclude.tags=org.scalatest.tags.Slow,org.apache.kyuubi.tags.DeltaTest,org.apache.kyuubi.tags.HudiTest,org.apache.kyuubi.tags.IcebergTest, 8, 3.2, -Dspark.archive.mirror=https:/… (push) Has been cancelled
CI / Flink Test (normal, 1.14, , 11) (push) Has been cancelled
CI / Flink Test (normal, 1.14, , 8) (push) Has been cancelled
CI / Flink Test (normal, 1.15, , 11) (push) Has been cancelled
CI / Flink Test (normal, 1.15, , 8) (push) Has been cancelled
CI / Flink Test (verify-on-flink-1.14-binary, 1.15, -Dflink.archive.mirror=https://archive.apache.org/dist/flink/flink-1.14.5 -Dflink.archive.name=flink-1.14.5-bin-scala_2.12.tgz, 8) (push) Has been cancelled
CI / Hive Test (normal, 8) (push) Has been cancelled
CI / JDBC Test (normal, 11) (push) Has been cancelled
CI / JDBC Test (normal, 8) (push) Has been cancelled
CI / Trino Test (normal, 11) (push) Has been cancelled
CI / Trino Test (normal, 8) (push) Has been cancelled
CI / TPC-H and TPC-DS Tests (push) Has been cancelled
CI / Kyuubi Server On Kubernetes Integration Test (push) Has been cancelled
CI / Spark Engine On Kubernetes Integration Test (push) Has been cancelled
Some checks failed
CI / Kyuubi and Spark Test (normal, , 11, 3.1, ) (push) Has been cancelled
CI / Kyuubi and Spark Test (normal, , 11, 3.2, ) (push) Has been cancelled
CI / Kyuubi and Spark Test (normal, , 11, 3.3, ) (push) Has been cancelled
CI / Kyuubi and Spark Test (normal, , 8, 3.1, ) (push) Has been cancelled
CI / Kyuubi and Spark Test (normal, , 8, 3.2, ) (push) Has been cancelled
CI / Kyuubi and Spark Test (normal, , 8, 3.3, ) (push) Has been cancelled
CI / Kyuubi and Spark Test (verify-on-spark-3.1-binary, -Dmaven.plugin.scalatest.exclude.tags=org.scalatest.tags.Slow,org.apache.kyuubi.tags.DeltaTest,org.apache.kyuubi.tags.HudiTest,org.apache.kyuubi.tags.IcebergTest, 8, 3.2, -Dspark.archive.mirror=https:/… (push) Has been cancelled
CI / Kyuubi and Spark Test (verify-on-spark-3.3-binary, -Dmaven.plugin.scalatest.exclude.tags=org.scalatest.tags.Slow,org.apache.kyuubi.tags.DeltaTest,org.apache.kyuubi.tags.HudiTest,org.apache.kyuubi.tags.IcebergTest, 8, 3.2, -Dspark.archive.mirror=https:/… (push) Has been cancelled
CI / Flink Test (normal, 1.14, , 11) (push) Has been cancelled
CI / Flink Test (normal, 1.14, , 8) (push) Has been cancelled
CI / Flink Test (normal, 1.15, , 11) (push) Has been cancelled
CI / Flink Test (normal, 1.15, , 8) (push) Has been cancelled
CI / Flink Test (verify-on-flink-1.14-binary, 1.15, -Dflink.archive.mirror=https://archive.apache.org/dist/flink/flink-1.14.5 -Dflink.archive.name=flink-1.14.5-bin-scala_2.12.tgz, 8) (push) Has been cancelled
CI / Hive Test (normal, 8) (push) Has been cancelled
CI / JDBC Test (normal, 11) (push) Has been cancelled
CI / JDBC Test (normal, 8) (push) Has been cancelled
CI / Trino Test (normal, 11) (push) Has been cancelled
CI / Trino Test (normal, 8) (push) Has been cancelled
CI / TPC-H and TPC-DS Tests (push) Has been cancelled
CI / Kyuubi Server On Kubernetes Integration Test (push) Has been cancelled
CI / Spark Engine On Kubernetes Integration Test (push) Has been cancelled
# 🔍 Description
## Issue References 🔗
As described.
## Describe Your Solution 🔧
Fix the engine id in engine probe failures messages.

## Types of changes 🔖
- [x] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
## Test Plan 🧪
#### Behavior Without This Pull Request ⚰️
#### Behavior With This Pull Request 🎉
#### Related Unit Tests
---
# Checklists
## 📝 Author Self Checklist
- [x] My code follows the [style guidelines](https://kyuubi.readthedocs.io/en/master/contributing/code/style.html) of this project
- [x] I have performed a self-review
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html)
## 📝 Committer Pre-Merge Checklist
- [ ] Pull request title is okay.
- [ ] No license issues.
- [ ] Milestone correctly set?
- [ ] Test coverage is ok
- [ ] Assignees are selected.
- [ ] Minimum number of approvals
- [ ] No changes are requested
**Be nice. Be informative.**
Closes #5754 from bowenliang123/engineid-some.
Closes #5754
893678472 [Bowen Liang] fix engine id of the engine probe failures logging messages
Authored-by: Bowen Liang <liangbowen@gf.com.cn>
Signed-off-by: Bowen Liang <liangbowen@gf.com.cn>
(cherry picked from commit f7bbe5b9de)
Signed-off-by: Bowen Liang <liangbowen@gf.com.cn>
This commit is contained in:
parent
39df2d974a
commit
d45a60de6e
@ -92,10 +92,11 @@ class KyuubiSyncThriftClient private (
|
||||
remoteEngineBroken = false
|
||||
} catch {
|
||||
case e: Throwable =>
|
||||
warn(s"The engine[$engineId] alive probe fails", e)
|
||||
val engineIdStr = engineId.getOrElse("")
|
||||
warn(s"The engine[$engineIdStr] alive probe fails", e)
|
||||
val now = System.currentTimeMillis()
|
||||
if (now - engineLastAlive > engineAliveTimeout) {
|
||||
error(s"Mark the engine[$engineId] not alive with no recent alive probe" +
|
||||
error(s"Mark the engine[$engineIdStr] not alive with no recent alive probe" +
|
||||
s" success: ${now - engineLastAlive} ms exceeds timeout $engineAliveTimeout ms")
|
||||
remoteEngineBroken = true
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user