Skip to content

Standard output is mixed up when submitting Jython jobs in non forked mode. #3534

@mbenguig

Description

@mbenguig

Standard output is mixed up if Python scripts are evaluated (Jython) in parallel within one single JVM (non forked mode). In non forked mode, reproduce it by submitting twice a single-Jython-task-based workflow with the following script:

import time
for x in range(1, 5):
print x
time.sleep(1)

The job1 output:

1
2
3

The job2 output:

1
4
2
3
4

Fabien Viale Hier à 20:56
I have some bad news, this seems to be an identified and unresolved issue in jython.

https://bugs.jython.org/issue2513

Describes exactly the same issue, with no progress.
(Need to wait for an update of jython)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions