You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Miklos Szegedi (JIRA)" <ji...@apache.org> on 2017/08/12 01:51:02 UTC
[jira] [Created] (YARN-7001) If shared cache upload is terminated
in the middle, the temp file will never be deleted
Miklos Szegedi created YARN-7001:
------------------------------------
Summary: If shared cache upload is terminated in the middle, the temp file will never be deleted
Key: YARN-7001
URL: https://issues.apache.org/jira/browse/YARN-7001
Project: Hadoop YARN
Issue Type: Bug
Reporter: Miklos Szegedi
There is a missing deleteTempFile(tempPath);
{code}
tempPath = new Path(directoryPath, getTemporaryFileName(actualPath));
if (!uploadFile(actualPath, tempPath)) {
LOG.warn("Could not copy the file to the shared cache at " + tempPath);
return false;
}
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org