pipelines: Unable to generate visualization: Unable to initialize visualization

What happened: Trying to use the Visualization Creator inside Pipeline > Experiment. Type: TFDV Source: gs://ml-pipeline-playground/tfx_taxi_simple/data/data.csv

Received:

Internal error: Post http://ml-pipeline-ml-pipeline-visualizationserver:8888: EOF
Unable to initialize visualization request.
github.com/kubeflow/pipelines/backend/src/common/util.Wrap
	backend/src/common/util/error.go:246
github.com/kubeflow/pipelines/backend/src/apiserver/server.(*VisualizationServer).generateVisualizationFromRequest
	backend/src/apiserver/server/visualization_server.go:77
github.com/kubeflow/pipelines/backend/src/apiserver/server.(*VisualizationServer).CreateVisualization
	backend/src/apiserver/server/visualization_server.go:26
github.com/kubeflow/pipelines/backend/api/go_client._VisualizationService_CreateVisualization_Handler.func1
	bazel-out/k8-opt/bin/backend/api/linux_amd64_stripped/go_client_go_proto%/github.com/kubeflow/pipelines/backend/api/go_client/visualization.pb.go:228
main.apiServerInterceptor
	backend/src/apiserver/interceptor.go:30
github.com/kubeflow/pipelines/backend/api/go_client._VisualizationService_CreateVisualization_Handler
	bazel-out/k8-opt/bin/backend/api/linux_amd64_stripped/go_client_go_proto%/github.com/kubeflow/pipelines/backend/api/go_client/visualization.pb.go:230
google.golang.org/grpc.(*Server).processUnaryRPC
	external/org_golang_google_grpc/server.go:966
google.golang.org/grpc.(*Server).handleStream
	external/org_golang_google_grpc/server.go:1245
google.golang.org/grpc.(*Server).serveStreams.func1.1
	external/org_golang_google_grpc/server.go:685
runtime.goexit
	GOROOT/src/runtime/asm_amd64.s:1333

What did you expect to happen: Generate a Visualization of the given data just as in the documentation: https://www.kubeflow.org/docs/pipelines/sdk/python-based-visualizations/

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (8 by maintainers)

Commits related to this issue

Most upvoted comments

@edacostacambioupgrade thanks! I LGTM’d it and assigned @IronPan who oversaw the project during development, he should be able to help get it approved and tested.

@enriquedacostacambio Changing visualization-server version 0.1.31 works for me as well! Thanks a lot!

Sounds good. I created https://github.com/kubeflow/manifests/pull/709 targeting v0.7-branch Thanks! Have a great semester!

Hi @edacostacambioupgrade , I changed the visualization-server version to 0.1.31 and it works fine, thanks for debugging! 😎

@ajchili fyi, a fresh GCP kf cluster gets this error too. (kind of fresh, at commit https://github.com/kubeflow/pipelines/commit/ee207f2b056ee8026efe988f740b3d0dc3dcaf1e)

Hey @Felihong, thanks for the additional report! I will try to duplicate your cluster and see why the issue is occurring. While it has been a bit since I have worked on this, I do not believe that you have to provide arguments for the table visualization. I will confirm this and see where the issue is arising.

As an FYI I just started my final semester at school so I may run into delays but I will update this ticket as frequently as I can, thanks!