In a standalone Flink cluster,
FLINK_HOME/log directory may contains many log files. How do I interpret the file names there?
Note: This article applies to Flink version 1.8 - 1.11.
Let us take the following file names an example:
The file names consist of several components:
flink: A static prefix
root: The user which started the Flink daemon/process
client: The type of the Flink daemon/process
1: The ID of the Flink deamon. It is calculated based on the position of the daemon PID in the PID file which is under
/tmpby default. The use of IDs allows to start multiple daemons of each type.
centos.local: The Fully Qualified Domain Name (FQDN) of the host where the Flink daemon/process runs
.out: The suffix indicating logs or stdout
.1: The suffix indicating log rotation. For example, the log file with suffix .2 contains older logs than .1