Skip to content

Commit d8a85c5

Browse files
authored
[Core] Improve NodeManager::HandleJobStarted log message (#47510)
Signed-off-by: Jiajun Yao <[email protected]>
1 parent c95318e commit d8a85c5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/ray/raylet/node_manager.cc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -607,9 +607,10 @@ void NodeManager::DestroyWorker(std::shared_ptr<WorkerInterface> worker,
607607
}
608608

609609
void NodeManager::HandleJobStarted(const JobID &job_id, const JobTableData &job_data) {
610-
RAY_LOG(INFO) << "New job has started. Job id " << job_id << " Driver pid "
611-
<< job_data.driver_pid() << " is dead: " << job_data.is_dead()
612-
<< " driver address: " << job_data.driver_address().ip_address();
610+
RAY_LOG(DEBUG).WithField(job_id)
611+
<< "HandleJobStarted Driver pid " << job_data.driver_pid()
612+
<< " is dead: " << job_data.is_dead()
613+
<< " driver address: " << job_data.driver_address().ip_address();
613614
worker_pool_.HandleJobStarted(job_id, job_data.config());
614615
// Tasks of this job may already arrived but failed to pop a worker because the job
615616
// config is not local yet. So we trigger dispatching again here to try to
@@ -618,7 +619,7 @@ void NodeManager::HandleJobStarted(const JobID &job_id, const JobTableData &job_
618619
}
619620

620621
void NodeManager::HandleJobFinished(const JobID &job_id, const JobTableData &job_data) {
621-
RAY_LOG(DEBUG) << "HandleJobFinished " << job_id;
622+
RAY_LOG(DEBUG).WithField(job_id) << "HandleJobFinished";
622623
RAY_CHECK(job_data.is_dead());
623624
// Force kill all the worker processes belonging to the finished job
624625
// so that no worker processes is leaked.

0 commit comments

Comments
 (0)