jupyter-scheduler icon indicating copy to clipboard operation
jupyter-scheduler copied to clipboard

root_dir override from ServerApp doesn't propagate to scheduler

Open baraksalomon opened this issue 11 months ago • 3 comments

Description

When configuring: c.ServerApp.root_dir The output folder "jobs" is created under the working director and not under the directory configured in ServerApp.root_dir Is my assumption correct? should ServerApp.root_dir affect the scheduler? if not, is there another parameter that can do that? I tried c.SchedulerApp.output_directory = 'some/folder' but the log says: [W 2024-12-23 09:35:58.308 SchedulerApp] Config option output_directory not recognized by SchedulerApp.

  1. Create a "Run now" job.
  2. Click Download.
  3. Check under the working directory and see the job folder is there and not under ServerApp.root_dir

Expected behavior

I expected the folder to be created under the folder configure in ServerApp.root_dir

Context

  • Operating System and version: Ubuntu 24
  • Browser and version: N/A
  • JupyterLab version: 4.3.4
  • Jupyter Scheduler version: 2.10.0

baraksalomon avatar Dec 23 '24 07:12 baraksalomon

This seems to be happening recently. Any quick fix?

fabiopedrosa avatar Dec 29 '24 11:12 fabiopedrosa

@baraksalomon

fabiopedrosa avatar Jan 02 '25 11:01 fabiopedrosa

For my environment I've removed ServerApp.root_dir and start the server from the folder I intended to use in ServerApp.root_dir.

This might not work for others depending on the complexity of their environment.

baraksalomon avatar Jan 02 '25 11:01 baraksalomon