tfx: Kubeflow Local Example --> Metadata TypeError

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

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 19 (11 by maintainers)

Most upvoted comments

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