Hello Everyone, I have a custom build process for ...
# troubleshoot
g
Hello Everyone, I have a custom build process for GMS and Frontend images. I don't use release tags the same as Datahub official project. Because of that, my GMS is waiting forever for the system update job (I'm using the community system update job image, which has a different deployment tag). Besides, even setting 'BOOTSTRAP_SYSTEM_UPDATE_WAIT_FOR_SYSTEM_UPDATE' environment variable to 'false', the GMS application stills wait for the system update job. Could someone please tell me how to fix this problem without rebuilding the system update image on my side?
1
l
Hey there 👋 I'm The DataHub Community Support bot. I'm here to help make sure the community can best support you with your request. Let's double check a few things first: 1️⃣ There's a lot of good information on our docs site: www.datahubproject.io/docs, Have you searched there for a solution? Yes button 2️⃣ It's not uncommon that someone has run into your exact problem before in the community. Have you searched Slack for similar issues? Yes button
g
Logs:
2023-05-08 145053,581 [ThreadPoolTaskExecutor-1] INFO c.l.m.b.k.DataHubUpgradeKafkaListener:84 - Latest system update version: v0.10.2-1
2023-05-08 145053,582 [ThreadPoolTaskExecutor-1] WARN c.l.m.b.k.DataHubUpgradeKafkaListener:88 - System version is not up to date: null-1. Waiting for datahub-upgrade to complete...
Hello @brainy-tent-14503 and @astonishing-answer-96712 Could you help me here? Even building the GMS image with the '-PreleaseVersion=0.10.0' flag, there seems to be a lack of synchronization between the update image generated by you and the GMS that I build internally. (https://github.com/datahub-project/datahub/blob/master/gradle/versioning/versioning.gradle). GMS Logs:
2023-05-15 141716,115 [ThreadPoolTaskExecutor-1] INFO c.l.m.b.k.DataHubUpgradeKafkaListener:84 - Latest system update version: v0.10.0-1
2023-05-15 141716,115 [ThreadPoolTaskExecutor-1] WARN c.l.m.b.k.DataHubUpgradeKafkaListener:88 - System version is not up to date: null-1. Waiting for datahub-upgrade to complete...
2023-05-15 141716,720 [R2 Nio Event Loop-1-1] WARN c.l.r.t.h.c.c.ChannelPoolLifecycle:139 - Failed to create channel, remote=localhost/127.0.0.1:8080
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:8080
Caused by: java.net.ConnectException: Connection refused
I was hoping that the '-PreleaseVersion=' parameter could solve the problem of the 'null' version appearing in the GMS. I made this assumption from reading this code: https://github.com/datahub-project/datahub/blob/master/metadata-service/factories/[…]m/linkedin/metadata/boot/kafka/DataHubUpgradeKafkaListener.java
a
The version is from the git version gradle plugin. It adds a file
git.properties
with the version into the jar at build time.
g
Thank you @brainy-tent-14503! I changed the gitProperties to reflect the version tag I wanted.