Good morning. We have detected that our Kylin installation has plenty temporary files located at $KYLIN_HOME/tomcat/temp. Now, around 90GB after two months running.
Inside this folder, there is a "safeToDelete.tmp" file, so we assumed we could flush the contents of this folder safely. However, this was not true. As soon as we delete contents older than 2 days, a lot of errors appeared in kylin.log complaining about missing files, in particular those of type: Message: java.io.FileNotFoundException: /opt/kylin/current/bin/../tomcat/temp/olap_model_4116748333625199860.json (No such file or directory) We immediately restored all old stuff and service became operational again. Tomcat temp folder is fully of files like these: [image: Screenshot from 2019-01-18 13-48-14.png] So, question is, how do we deal with this folder cleanup? Can we delete all kylin_jobmetadataXXXXXX folders but maintain olap_modem_XXXXX.json files? Why a safeToDelete.tmp exists here? It only contributes to create confusion about safe cleanup of this folder contents. Thank you!
