[ 
https://issues.apache.org/jira/browse/YARN-4383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15055524#comment-15055524
 ] 

Kai Sasaki commented on YARN-4383:
----------------------------------

It does not seems to be a bug. This change was done by MAPREDUCE-4879. 
But we may be able to modify to exclude PARTITON_FILENAME case if we can 
understand the reason 
why it can be overwrite in the case only 1 child and it's PARTITION_FILENAME.

> TeraGen Application allows same output directory for multiple jobs 
> -------------------------------------------------------------------
>
>                 Key: YARN-4383
>                 URL: https://issues.apache.org/jira/browse/YARN-4383
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: tongshiquan
>
> When Teragen is run multiple times with the same output directory, normally 
> it should validate  and fail.
> But some cases it may continue and cause the exceptions which results failure 
> in job later time.
> I think the reason behind it is 
> {code} 
> org.apache.hadoop.examples.terasort.TeraOutputFormat.checkOutputSpecs(TeraOutputFormat.java)
>  have issue, it permit the output already exists if it have only 1 kid and 
> it's PARTITION_FILENAME
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to