teragrep / zep_01

0 stars 0 forks source link

Notebooks executed via cron do not set interpreter process name/information correctly #44

Open StrongestNumber9 opened 2 months ago

StrongestNumber9 commented 2 months ago

Describe the bug

I receive something like this in logs while using cron to run the notebook: Interpreter process: spark-isolated-2KACSMUAW-2024-09-16_12-40-00 is started

Cron executions do not contain the username. It also appends the execution timestamp while directly executed do not.

NOTE: I have not researched if this just a cosmetic issue or if there are any potential codeflow differences down the line that could cause unexpected complications

Expected behavior

I expect to receive something like this in logs while executing it directly: Interpreter process: spark-StrogestNumber9-2JSMD5SAE is started

How to reproduce

Expected results: Run a notebook normally

Unexpected results: Run the same notebook using cron scheduler

Screenshots

None

Software version

Might be somewhat experimental version but does not have any changes related to this issue com.teragrep-zep_01-2.1.0.8.gc2fa1247.el8.x86_64-620.x86_64

Desktop (please complete the following information if relevant):

Additional context