Skip to content
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

[raydp-334] fix the workaround of working with ray 2.3.[0-1] #335

Merged
merged 1 commit into from
Apr 19, 2023

Conversation

jiafuzha
Copy link
Contributor

we need to prepend jobid to hardcoded prefix log file, java-worker-*.log instead of getting prefix from the "ray.logging.file-prefix" system property since ray hasn't applied the fix (ray-project/ray#33665) yet.

Signed-off-by: jiafu zhang <jiafu.zhang@intel.com>
@jiafuzha
Copy link
Contributor Author

@kira-lin @carsonwang please help review.

@kira-lin
Copy link
Collaborator

Why revert the change? It works both now and after that PR merged, right?

@jiafuzha
Copy link
Contributor Author

Why revert the change? It works both now and after that PR merged, right?

It doesn't work as expected with ray 2.3.1 for now since ray still uses 'java-worker' as prefix even though we've set and get system property like below,

String prefix = System.getProperty("ray.logging.file-prefix", "java-worker");

Thus, we need to prepend "jobid" to java-worker*.log directly until the ray PR merged.

@kira-lin kira-lin merged commit 5f351a8 into oap-project:master Apr 19, 2023
@kira-lin
Copy link
Collaborator

I see. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants