chilly-barista-6524
09/27/2021, 11:45 AMdatahub-gms
and datahubUpgrade
job.
datahub-gms
throws following error:
javax.persistence.PersistenceException: Query threw SQLException:Table 'datahub.metadata_aspect_v2' doesn't exist
and
datahubUpgrade
throws following error:
ERROR: Cannot connect to GMSat host test-datahub-datahub-gms port 8080. Make sure GMS is on the latest version and is running at that host before starting the migration.
Now both the errors seems to be dependent on each other to me. I was wondering if we are missing any step in between and does the metadata_aspect_v2
table needs to be created manually?loud-island-88694
early-lamp-41924
09/27/2021, 3:33 PMearly-lamp-41924
09/27/2021, 3:45 PMbig-carpet-38439
09/27/2021, 4:16 PMchilly-barista-6524
09/27/2021, 4:21 PMmetadata_aspect_v2
not being created was this: https://github.com/acryldata/datahub-helm/issues/35
I actually created the mysql clone on the same EC2 machine and gave it a different port but it was not able to pick the port due to the above mentioned issuechilly-barista-6524
09/27/2021, 4:21 PMmysqlsetupjob
included in the helm chart, but my gms pod is stuck since last 1 hourchilly-barista-6524
09/27/2021, 4:24 PMdatahub-gms:
livenessProbe:
initialDelaySeconds: 6000
periodSeconds: 30
failureThreshold: 8
readinessProbe:
initialDelaySeconds: 6000
periodSeconds: 30
failureThreshold: 8
resources:
limits:
cpu: 1
memory: 2Gi
requests:
cpu: 500m
memory: 1Gi
but the pod does not seem to budge, it is stuck in the following stage :
test-datahub-datahub-gms-84587bf8c5-tbkh4 0/1 Running 0 8m37s
early-lamp-41924
09/27/2021, 4:40 PMbig-carpet-38439
09/27/2021, 4:57 PMchilly-barista-6524
09/27/2021, 6:12 PMearly-lamp-41924
09/27/2021, 6:29 PMearly-lamp-41924
09/27/2021, 6:29 PMearly-lamp-41924
09/27/2021, 6:29 PMearly-lamp-41924
09/27/2021, 6:35 PMearly-lamp-41924
09/27/2021, 6:36 PM- "-a"
- "force-upgrade"
early-lamp-41924
09/27/2021, 6:36 PMchilly-barista-6524
09/27/2021, 6:40 PMmysqlsetupjob
created the metadata_aspect_v2
and populated it with 2 rows, so the upgrade got skipped.
We figured it out and disabled the mysqlsetupjob
and truncated the table and performed the upgrade.
Will explore the force-upgrade tomorrow as well. Logs and documentation are pretty neat. Thanks again 😄early-lamp-41924
09/27/2021, 6:41 PMchilly-barista-6524
09/27/2021, 6:41 PMchilly-barista-6524
09/27/2021, 6:41 PMearly-lamp-41924
09/27/2021, 6:42 PMearly-lamp-41924
09/27/2021, 6:42 PMchilly-barista-6524
09/27/2021, 6:42 PM