mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 19:49:04 +08:00
Add stress test for Java worker (#3424)
This commit is contained in:
committed by
Robert Nishihara
parent
0603e0b73a
commit
abd37df41e
@@ -75,7 +75,7 @@ public abstract class AbstractRayRuntime implements RayRuntime {
|
||||
|
||||
public <T> void put(UniqueId objectId, T obj) {
|
||||
UniqueId taskId = workerContext.getCurrentTask().taskId;
|
||||
RayLog.core.info("Putting object {}, for task {} ", objectId, taskId);
|
||||
RayLog.core.debug("Putting object {}, for task {} ", objectId, taskId);
|
||||
objectStoreProxy.put(objectId, obj, null);
|
||||
}
|
||||
|
||||
|
||||
@@ -90,8 +90,8 @@ public class RayletClientImpl implements RayletClient {
|
||||
@Override
|
||||
public void fetchOrReconstruct(List<UniqueId> objectIds, boolean fetchOnly,
|
||||
UniqueId currentTaskId) {
|
||||
if (RayLog.core.isInfoEnabled()) {
|
||||
RayLog.core.info("Blocked on objects for task {}, object IDs are {}",
|
||||
if (RayLog.core.isDebugEnabled()) {
|
||||
RayLog.core.debug("Blocked on objects for task {}, object IDs are {}",
|
||||
UniqueIdUtil.computeTaskId(objectIds.get(0)), objectIds);
|
||||
}
|
||||
nativeFetchOrReconstruct(client, UniqueIdUtil.getIdBytes(objectIds),
|
||||
|
||||
Reference in New Issue
Block a user