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.

Usability: Pipeline editor: "legacy" runtime images are not displayed

See original GitHub issue

1.3-dev

  • Clone the Elyra examples repository https://github.com/elyra-ai/examples.git

  • Navigate to pipelines/dax_noaa_weather_data

  • Open the pre-configured pipeline. It was created using Elyra 1.2.x

  • Hover over a node. Note the associated runtime image

    image

  • Open the properties of the selected node. Note that the selected runtime image drop-down is empty

    image

It appears that this will always happen when Elyra is re-installed and new runtime image versions are included. In my case the pipeline was created using pandas 1.0.3 whereas 1.3-dev includes only a definition for pandas 1.1.1.

While the behavior is expected from an implementation point of view it is confusing to a user because there are now two scenarios for which the entry is empty.

  • A user never assigned a runtime image to a node (leads to validation error)
  • A user assigned a runtime image to a node but the runtime image configuration is no longer present (no validation error)

Should the selected drop down entry maybe show a placeholder that indicates that no runtime image configuration is associated with the selected value to distinguish the two?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
kevin-batescommented, Sep 30, 2020

The issue Patrick is raising is that the ‘edit properties’ dialog doesn’t show the image name when the image name has become detached from its original runtime-image instance. This results in an ambiguity between nodes that have no image selected and those that have a “detached” image selected.

Since we already show the runtime-image instance name when there is a match with a runtime-image instance (and I wasn’t aware of that “matching” functionality until now), it seems like we should simply show the image name when no match to a runtime-image can be found. Not sure if there should be an indication, in this case, that the image name is not associated with any runtime-image instance, but that would disambiguate the two scenarios.

0reactions
kevin-batescommented, Oct 5, 2020

I don’t understand your response. Why should the user have to change the image that works perfectly well (otherwise they’d change the image)? The issue is that when there’s no match (which is out of control), we don’t seed the dialog with the image name that is in use. That is misleading.

Just because we don’t have control over the match/display, we do have control over the set to match from. So it seems we could fabricate “virtual” runtime-image entries that map ‘image name’ to ‘image name’ rather than ‘image name’ to ‘runtime-image instance name’ in cases where the configured image name that exists in the pipeline is now NOT in the list of runtime-image instances.

Displaying blank for something that is not blank is a bug.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating Customized ML Runtimes - Cloudera Documentation
This section walks you through the steps required to create your own custom ML Runtimes based on one of the Cloudera provided ML...
Read more >
Runtime Image Configuration — Elyra 3.14.1 documentation
Open the Runtime Images panel. · Click the edit icon next to the runtime image name. · Modify the runtime image properties as...
Read more >
Configuring the Engine Environment - Cloudera Documentation
This section describes some of the ways you can configure engine environments to meet the requirements of your projects.
Read more >
Images OpenShift Container Platform 4.5 | Red Hat Customer ...
oc edit configs.samples.operator.openshift.io/cluster -o yaml ... The extra files are not visible in the final image, but they are present in the underlying ......
Read more >
Configure clusters - Azure Databricks - Microsoft Learn
These are instructions for the legacy create cluster UI, ... have been created in the workspace, the Policy drop-down does not display.
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