[Java] Fix output parsing in RunManager (#12968)

* Fix output parsing in RunManager

* change log level

Co-authored-by: 灵洵 <fengbin.ffb@antgroup.com>
This commit is contained in:
Kai Yang
2020-12-18 18:22:12 -08:00
committed by GitHub
co-authored by 灵洵
parent 6ece291f35
commit ac5ea2c13d
3 changed files with 19 additions and 13 deletions
@@ -209,11 +209,15 @@ void ServiceBasedGcsClient::ReconnectGcsServer() {
return;
}
RAY_LOG(INFO) << "Attemptting to reconnect to GCS server: " << address.first << ":"
<< address.second;
RAY_LOG(DEBUG) << "Attemptting to reconnect to GCS server: " << address.first << ":"
<< address.second;
if (Ping(address.first, address.second, 100)) {
RAY_LOG(INFO) << "Reconnected to GCS server: " << address.first << ":"
<< address.second;
// If `last_reconnect_address_` port is -1, it means that this is the first
// connection and no log will be printed.
if (last_reconnect_address_.second != -1) {
RAY_LOG(INFO) << "Reconnected to GCS server: " << address.first << ":"
<< address.second;
}
break;
}
}