Hey! I have a problem with the backup restoration....
# troubleshoot
f
Hey! I have a problem with the backup restoration. Steps are: • install datahub via the official chart • add some datasets, users, tags • backup the contents of MySQL (
metadata_aspect_v2
table) • drop the chart completely and reinstall it back • restore MySQL data After that, I expect datasets and users to re-appear in the UI, but UI remains completely clean.
✅ 1
I'm aware that I may need to restore indices, but it does not work. I get
Copy code
│ 2023-01-11 16:58:04.059  INFO 1 --- [           main] o.a.k.clients.producer.KafkaProducer     : [Producer clientId=producer-1] Closing the Kafka producer with timeoutMillis = 9223372036854775807 ms.            │
│ ERROR LoggingFailureAnalysisReporter                                                                                                                                                                               
│ ***************************                                                                                                                                                                                        │
│ APPLICATION FAILED TO START                                                                                                                                                                                        │
│ ***************************                                                                                                                                                                                        
│ Description:                                                                                                                                                                                                       
│ Field kafkaHealthChecker in com.linkedin.gms.factory.kafka.DataHubKafkaEventProducerFactory required a bean of type 'com.linkedin.metadata.dao.producer.KafkaHealthChecker' that could not be found.               
│ The injection point has the following annotations:                                                                                                                                                                 │
│     - @javax.inject.Inject()                                                                                                                                                                                       │
│     - @javax.inject.Named(value="noCodeUpgrade")                                                                                                                                                                   
│ Action:                                                                                                                                                                                                                                                                                                                                                                                                                           
│ Consider defining a bean of type 'com.linkedin.metadata.dao.producer.KafkaHealthChecker' in your configuration.
after
kubectl create job --from=cronjob/datahub-datahub-restore-indices-job-template datahub-restore-indices-adhoc
i
This is a known issue on the latest release of DataHub that we have since fixed in master. You can change the restore indicies version to 0.9.3, it should work.
f
I have
image: acryldata/datahub-upgrade:v0.9.5
, downgrade to .3 ?