celeborn/common
Wang, Fei dceef479bb [CELEBORN-1541] Enhance the readable address for internal port
### What changes were proposed in this pull request?
If the internal port is not defined, do not show the internal port(-1) in the readable address.

### Why are the changes needed?

If the workerInfo is applied for the RESTful request, such as curl `/api/v1/workers/exclude`, the internal port is always `-1`.

It is not necessary to show the `-1` in the readable address.

### Does this PR introduce _any_ user-facing change?
Just reduce the unnecessary info.

### How was this patch tested?

Not needed.

Closes #2659 from turboFei/internal_port.

Authored-by: Wang, Fei <fwang12@ebay.com>
Signed-off-by: mingji <fengmingxiao.fmx@alibaba-inc.com>
2024-08-02 15:06:19 +08:00
..
benchmarks [CELEBORN-744] Add Benchmark framework and ComputeIfAbsentBenchmark 2023-06-29 20:19:30 +08:00
src [CELEBORN-1541] Enhance the readable address for internal port 2024-08-02 15:06:19 +08:00
pom.xml [CELEBORN-1521] Introduce celeborn-spi module for authentication extensions 2024-07-25 00:52:00 -07:00