You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Ravi Gummadi (Updated) (JIRA)" <ji...@apache.org> on 2012/02/17 06:29:59 UTC

[jira] [Updated] (MAPREDUCE-3829) [Gridmix] Gridmix should give better error message when input-data directory already exists and -generate option is given

     [ https://issues.apache.org/jira/browse/MAPREDUCE-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Gummadi updated MAPREDUCE-3829:
------------------------------------

    Attachment: 3829.v0.patch

Attaching patch that fixes the issue.
With the patch, Gridmix (a) emits out an error message instead of throwing an Exception message on to the console and (b) exits instead of failing some where else later on.
The patch also emits out an error message in other cases like setupEmulation fails and returns proper exit code instead of returning 0 in failure cases. 
                
> [Gridmix] Gridmix should give better error message when input-data directory already exists and -generate option is given
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3829
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3829
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/gridmix
>            Reporter: Ravi Gummadi
>            Assignee: Ravi Gummadi
>         Attachments: 3829.v0.patch
>
>
> Instead of throwing exception messages on to the console, Gridmix should give better error message when input-data directory already exists and -generate option is given.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira