[
https://issues.apache.org/jira/browse/FLINK-27099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17518553#comment-17518553
]
Yang Wang commented on FLINK-27099:
-----------------------------------
After the job is submitted successfully, the uploaded jars which are located in
the /tmp directory could be deleted via {{{}DELETE /jars/:jarid{}}}.
However, the problem is the deleted files are still occupying disk space. You
could verify this by 'lsof | grep deleted'.
{code:java}
java 119182 123235 danrtsey.wy DEL REG 8,3
2359443
/tmp/flink-web-608fdee3-6204-4f0f-94fe-0ad04e5f8860/flink-web-upload/c3783294-2ef7-4f09-a730-35438790192a_StateMachineExample.jar
java 119182 123235 danrtsey.wy 999r REG 8,3 3704625
2359443
/tmp/flink-web-608fdee3-6204-4f0f-94fe-0ad04e5f8860/flink-web-upload/c3783294-2ef7-4f09-a730-35438790192a_StateMachineExample.jar
(deleted) {code}
> RestClient fills /tmp directory
> -------------------------------
>
> Key: FLINK-27099
> URL: https://issues.apache.org/jira/browse/FLINK-27099
> Project: Flink
> Issue Type: Bug
> Components: Runtime / REST
> Affects Versions: 1.7.2, 1.12.1, 1.14.4
> Reporter: Mexicapita
> Priority: Minor
>
> I have some problems with my apache flink stream system.
> A few days ago, we detect that flink was using too much space in the hard
> disk, and explorint them, we found to many (around a thousand) `.jar` files
> in `/tmp` directory on jobmanager container.
> The .jar files always have a similar name, but with diferent numbers:
> - 1695477181_3183563526079495551lib_org.eclipse.paho.client.mqttv3-1.1.0.jar
> - 1798263280_2346102789822957064lib_com.google.protobuf_2.6.0.jar
> The .jar files was created when I use the 'Submit New Job' menu
> In this menu, flink start to polling `GET http://myflink:myport/jars/` (once
> at second).
> For each request, a couple of .jar files are created.
> I can't find any information about this and I'm not sure if its a bug or
> something. Any help please ?
> My installations:
> - Flink 1.12.1 running with docker swarm
> - Flink 1.7 running with docker compose
> - Flink 1.14.4 java 11 running with docker-compose
> The three installations have the same problem
> Thanks !!!
--
This message was sent by Atlassian Jira
(v8.20.1#820001)