andygrove commented on PR #1059:
URL:
https://github.com/apache/datafusion-ballista/pull/1059#issuecomment-2374038818
The scheduler receives this request from the executor:
```
Received poll_work request for ExecutorRegistration { id:
"b81acaa8-2fd8-400d-aa4c-3faea28b60ed", port: 50051, grpc_port: 50052,
specification: Some(ExecutorSpecification { resources: [ExecutorResource {
resource: Some(TaskSlots(8)) }] }), optional_host: None }
```
This code panics when trying to get the IP address (which is missing):
```rust
let metadata = ExecutorMetadata {
id: metadata.id,
host: metadata
.optional_host
.map(|h| match h {
OptionalHost::Host(host) => host,
})
.unwrap_or_else(||
remote_addr.unwrap().ip().to_string()),
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]