If a Flink task stops unexpectedly, some directories may reside in the ZooKeeper and HDFS services. To delete the residual directories, set ClearUpEnabled to true.
A FlinkServer instance has been installed in a cluster and is running properly.
Parameter |
Description |
Default Value |
Value Range |
---|---|---|---|
ClearUpEnabled |
Specifies whether to delete the residual directories. Set this parameter to true if residual directories need to be deleted; set it to false otherwise. |
true |
true and false |
ClearUpPeriod |
Specifies the period for deleting residual directories, in minutes. |
1440 |
1440~2147483647 |
TrashDirectoryRetentionPeriod |
Specifies the period for retaining residual directories, in minutes. |
10080 |
10080~2147483647 |