Hi guys, i try to connect datahub to google cloud ...
# troubleshoot
f
Hi guys, i try to connect datahub to google cloud sql I do the network set up and i change de mysql set up on helm
Copy code
global:
  sql:
    datasource:
      host: "<internal_ip>3306"
      hostForMysqlClient: "clinet ip"
      port: "3306"
      url: "jdbc:mysql://<ip>datahub?verifyServerCertificate=false&useSSL=true&useUnicode=yes&characterEncoding=UTF-8&enabledTLSProtocols=TLSv1.2"
      driver: "com.mysql.cj.jdbc.Driver"
      username: "datahub"
      password:
        secretRef: mysql-secrets
        secretKey: mysql-root-password
i migrate the data from the k8s mysql to clous sql, I have the data in cloud sql but i dont see them in ui 😞
Also i did a ingestion i got this result
Copy code
'warnings': {},
 'failures': {},
 'tables_scanned': 392,
 'views_scanned': 196,
 'entities_profiled': 0,
 'filtered': [],
 'soft_deleted_stale_entities': [],
 'query_combiner': None}
Sink (datahub-rest) report:
{'records_written': 588,
 'warnings': [],
 'failures': [],
 'downstream_start_time': datetime.datetime(2022, 3, 11, 16, 33, 5, 315734),
 'downstream_end_time': datetime.datetime(2022, 3, 11, 16, 39, 12, 594496),
 'downstream_total_latency_in_seconds': 367.278762}
but ihave only 9 tables in the ui
e
Sorry about the late reply. Is this still the case?
f
Hi Dexter, I find the problem, i switch the database but i forgot to run datahub-datahub-restore-indices-job-template
e
Ah so you switched the search index as well?
Got it!
Glad it worked out!
f
yea, i created a new cluster, and migrated de mysql from the old cluster to cloud sql. And connect the new cluster to cloud sql. It was the first time when i play with elastic search, so , some thinks are strange to me 😂