hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Gummadi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-1979) "Output directory already exists" error in gridmix when gridmix.output.directory is not defined
Date Mon, 06 Sep 2010 08:16:33 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906452#action_12906452

Ravi Gummadi commented on MAPREDUCE-1979:

There is need for creation of outputPath just to set the permissions of this directory to
777 sothat all users(who launch mapreduce jobs within this gridmix run) will be able to create
their own output directories under this outputPath through mapreduce jobs.

> "Output directory already exists" error in gridmix when gridmix.output.directory is not
> -----------------------------------------------------------------------------------------------
>                 Key: MAPREDUCE-1979
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1979
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/gridmix
>            Reporter: Ravi Gummadi
>            Assignee: Ravi Gummadi
>         Attachments: 1979.patch, 1979.v1.1.patch, 1979.v1.2.patch, 1979.v1.patch
> "Output directory already exists" error is seen in gridmix when gridmix.output.directory
is not defined. When gridmix.output.directory is not defined, then gridmix uses inputDir/gridmix/
as output path for gridmix run. Because gridmix is creating outputPath(in this case, inputDir/gridmix/)
at the begining, the output path to generate-data-mapreduce-job(i.e. inputDir) already exists
and becomes error from mapreduce.
> There is no need of creating this outputPath in any case(whether user specifies the path
using gridmix.output.directory OR gridmix itself considering inputDir/gridmix/ ) because the
paths are automatically created for output paths of mapreduce jobs(like mkdir -p).
> The other case in which this problem is seen is when gridmix.output.directory is defined
as a relative path. This is because in this case also, gridmix tries to create relative path
under ioPath/ and thus the same issue.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message