Kubeflow Local Example --> Metadata TypeError
See original GitHub issueI 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:
- Created 4 years ago
- Comments:19 (11 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I was also missing other configuration values. In case it helps someone, the following worked for me on GCP:
Are you satisfied with the resolution of your issue? Yes No