-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File Dependencies relative path under pipeline file properties #1706
Comments
I confirmed the behavior but believe that the Elyra packaging process does not support the kind of directory layout you are using. Can you please clarify how the notebooks are referencing the Python scripts? |
To illustrate the [directory] problem, assume the following directory layout:
The produced input artifacts archive contains the following (
In this context, |
A potential workaround, although it's not ideal and I haven't tested it yet, would be to define symlinks in the directory where the pipeline file/notebook is located. Support for symlinks was only recently added by #1689, which is not yet included in any stable release. |
Confirmed that with #1689 in place the following would work:
|
Adding symlink does look like a logical workaround to avoid having to change the folder structure to have the pipeline files in the root directory. We put all pipeline files in a different subdirectory for organisation sake. |
And just to clarify things, the actual pipeline files can be anywhere. The requirement we have is relative to the notebook, where its dependencies need to be contained as children of the same directory, otherwise, we can't reconstruct the folder hierarchy on the root of the container during runtime execution. |
To summarize:
Please let me know if I missed anything. |
Thanks for the summary. This covers everything 👍🏻 |
Thanks @ptitzler, what is ETA for 2.3 release stable? |
@pacospace 2.3 will now be called 3.0 and you can see the current status at the release milestone but my feeling is that we still need about a couple of weeks to get it stabilized and released. |
Thank you very much for the update @lresende! I will keep an eye on that! 🚀 |
Describe the issue
My project contains folder structure as follows:
I have notebooks and related pipelines under
/pipelines/main/
and some python libraries used by the notebooks under/servicelib/
. This is why I added a relative path to the parent folder as../../servicelib/
under File Dependency as part of the notebook properties in the pipeline. This runs successfully when running the pipeline in-place locally, but when running it using the kubflow runtime the following error occurs:Screenshot of the properties window
![image](https://user-images.githubusercontent.com/17576651/119774781-105a6280-bf06-11eb-888b-bb44d81efb8a.png)
Expected behavior
Expected to be able to run the pipeline successfully with File Dependencies copied from relative parent path
Pipeline runtime environment
If the issue is related to pipeline execution, identify the environment where the pipeline is executed
The text was updated successfully, but these errors were encountered: