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.

Empty Output Files Directory Should Be Valid With Wildcard

See original GitHub issue

Validation fails on the Output Files directory when a directory with a wildcard for files is specified (e.g. data/*). Since output files may be generated by the pipeline node, this should be valid.

To Reproduce Create a node with Output Files set to data/* where that directory is empty. Try to run the pipeline triggering validation. Note that if you drop an empty file into the directory, it will pass validation.

Screenshots or log output { “severity”: 1, “source”: “Elyra Pipeline Validation Service”, “type”: “invalidFilePath”, “message”: “Property(wildcard) has an invalid path to a file/dir or the file/dir does not exist.”, “data”: { “nodeID”: “9eccdc64-edbe-4dad-8ae5-0d90405a5c13”, “nodeName”: “elyra.trainer.ipynb”, “propertyName”: “dependencies”, “value”: “/home/jovyan/MNIST/data/*” } }

Expected behavior The pipeline should pass validation in this condition.

Deployment information Describe what you’ve deployed and how:

  • Elyra 3.9.1

Pipeline runtime environment If the issue is related to pipeline execution, identify the environment where the pipeline is executed

  • Kubeflow Pipelines 1.0.4

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
cupdikecommented, Jun 23, 2022

Pointed out by the team, I dont think we currently support wildcards in output file declarations, see #995

Just so you are aware, the docs suggest they are supported: https://elyra.readthedocs.io/en/v3.9.0/user_guide/pipelines.html

Output Files Optional. A list of files generated by the notebook inside the image to be passed as inputs to the next step of the pipeline. Specify one file, directory, or expression per line. Supported patterns are * and ?. Example: data/*.csv

0reactions
ptitzlercommented, Jun 23, 2022

If the amount of data (or number of files) you want to exchange between generic nodes is rather large, using the data volume support we’ve introduced in version 3.8 is probably the better performing option.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Wildcards in Paths | Sumo Logic Docs
Rather than entering each file by name, using wildcards in the Source path allows you to collect all files of a certain type...
Read more >
Snakefiles and Rules — Snakemake 7.19.1 documentation
Importantly, the wildcard names in input and output must be named identically. Most typically, the same wildcard is present in both input and...
Read more >
Path Not Found error when copying files using wildcard
You are trying to copy several source files into only one target .xls file, but the documentation states. If source contains wildcard ......
Read more >
Using local environment variables with file nodes - IBM
On the FileOutput, CDOutput, and FTEOutput nodes, you can use a wildcard character in the file name pattern. If you include the single...
Read more >
GNU Make - Writing Rules - MIT
When a wildcard matches no files, it is left as it is, so then `foo' will ... Thus, a makefile to compile all...
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