[
https://issues.apache.org/jira/browse/MAHOUT-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stevo Slavic updated MAHOUT-1341:
---------------------------------
Description:
When running {{examples/bin/classify-20newsgroups.sh}} and choosing clean
option, working directory gets initialized first (so 20newsgroups dataset gets
downloaded if not already in the working directory) just to have working
directory deleted. So cleaning already clean working directory will take
unnecessarily long.
For clean task we should skip working directory initialization and just clean
things up.
was:
When running {{examples/bin/classify-20newsgroups.sh}} and choosing clean
option, working directory gets initialized first (so 20newsgroups dataset gets
downloaded if not already in the working directory) just to have working
directory deleted. So cleaning already clean working directory will take
unnecessarily long.
When clean is chose, we should skip this working directory initialization and
just clean things up.
> Cleaning classification examples work dir unnecesarily initializes the dir
> before deleting
> ------------------------------------------------------------------------------------------
>
> Key: MAHOUT-1341
> URL: https://issues.apache.org/jira/browse/MAHOUT-1341
> Project: Mahout
> Issue Type: Bug
> Components: Examples
> Affects Versions: 0.8
> Reporter: Stevo Slavic
> Assignee: Stevo Slavic
> Priority: Trivial
> Fix For: 0.9
>
> Attachments: MAHOUT-1341.patch
>
>
> When running {{examples/bin/classify-20newsgroups.sh}} and choosing clean
> option, working directory gets initialized first (so 20newsgroups dataset
> gets downloaded if not already in the working directory) just to have working
> directory deleted. So cleaning already clean working directory will take
> unnecessarily long.
> For clean task we should skip working directory initialization and just clean
> things up.
--
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