question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Kubeflow Local Example --> Metadata TypeError

See original GitHub issue

I experience a TypeError with the Taxi Kubeflow Local Example (link).

I run into the following error of the csvexamplegen component:

Traceback (most recent call last):
  File "/tfx-src/tfx/orchestration/kubeflow/container_entrypoint.py", line 321, in <module>
    main()
  File "/tfx-src/tfx/orchestration/kubeflow/container_entrypoint.py", line 295, in main
    connection_config = _get_metadata_connection_config(kubeflow_metadata_config)
  File "/tfx-src/tfx/orchestration/kubeflow/container_entrypoint.py", line 71, in _get_metadata_connection_config
    kubeflow_metadata_config.mysql_db_service_host)
TypeError: None has type NoneType, but expected one of: bytes, unicode

As far as I can see, the example configures a metadata-config, so I dont understand why it doesn’t work. Is there anything special I need to deploy in addition or maybe I am using the wrong version of the libaries (tfx==0.15.0, kfp==0.1.36)?

Thanks Marcel

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:19 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
tholopcommented, Jan 28, 2020

I was also missing other configuration values. In case it helps someone, the following worked for me on GCP:

0reactions
google-ml-butler[bot]commented, Sep 30, 2021

Are you satisfied with the resolution of your issue? Yes No

Read more comments on GitHub >

github_iconTop Results From Across the Web

Building Python function-based components - Kubeflow
The following example demonstrates how to return multiple outputs by value, including component metadata and metrics.
Read more >
Train a model - | notebook.community
Train a model. This notebook can be used to train a model. The notebook assumes you have already computted the embeddings and stored...
Read more >
Kubeflow Pipelines - Advanced Analytics Workspace
These pipelines can be shared, reused, and scheduled, and are built to run on compute provided via Kubernetes. Here is an example of...
Read more >
kfp.dsl._container_op — Kubeflow Pipelines documentation
Copyright 2019 The Kubeflow Authors # # Licensed under the Apache License, ... Example:: from kfp.dsl import ContainerOp from kubernetes.client.models ...
Read more >
Kubeflow Pipelines v2 is giving Permission Denied on ...
I SUSPECT this is because I'm using the native functionality in Kubeflow to write out files to a local temp directory, but I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found