Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.20.0, 1.19.1, 2.0-preview
Description
An error occurred when using a port range for the taskmanager.data.bind-port configuration item.
Environment Information:
- Flink version: 1.20.0
- Java: 1.8
Configuration Information:
- taskmanager.data.bind-port: 12001-13000
When starting the Flink job, an exception occurs. Please see the attached file for the exception message: exception.png
The error received is a NativeIoException. However, the source code is set up to catch a BindException. (Refer to the attached file: source_code.png) The two do not match.