[
https://issues.apache.org/jira/browse/MAHOUT-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13658667#comment-13658667
]
Suneel Marthi commented on MAHOUT-1213:
---------------------------------------
It does fail if the output directory already exists, and that's fine.
But it does not clear --tempDir when -ow is specified, the user has to manually
clean the tempDir before each run else the Q-job, Bt-Job, U-job etc.. fail.
Ideally the tempDir should be cleared up when SSVDcli exits -
{code}
fs.deleteOnexit(getTempPath())
{code}
unless there are other reasons for not doing it.
I was proposing to clear the --tempDir along with outputDir if -ow is
specified, and to always delete the tempDir when the job exits.
> SSVD job doesn't clean it's temp dir, and fails when seeing it again
> --------------------------------------------------------------------
>
> Key: MAHOUT-1213
> URL: https://issues.apache.org/jira/browse/MAHOUT-1213
> Project: Mahout
> Issue Type: Bug
> Components: CLI
> Affects Versions: 0.8
> Reporter: Suneel Marthi
> Assignee: Suneel Marthi
> Priority: Minor
> Fix For: 0.8
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira