I tried setting "mapreduce.fileoutputcommitter.marksuccessfuljobs=false"
in configuration and it worked.

Found information about this in a JIRA ticket as well:
https://issues.apache.org/jira/browse/MAPREDUCE-947

 

Thank you Aniket.

 

From: Aniket Mokashi [mailto:aniket...@gmail.com] 
Sent: 05 October 2012 12:04
To: user@hive.apache.org
Cc: hive-u...@hadoop.apache.org; u...@hadoop.apache.org
Subject: Re: Avoid creation of _SUCCESS folder in reducer output folder

 

mapreduce.fileoutputcommitter.marksuccessfuljobs=false;

MAPREDUCE-947, i guess..

 

~Aniket

On Thu, Oct 4, 2012 at 11:06 PM, Balaraman, Anand
<anand_balara...@syntelinc.com> wrote:

Hi

 

While using Map reduce programs, the output folder where reducer writes
out the result contains 2 auto-generated folders: _SUCCESS and _logs.

To avoid generation of _log folder, I can set the configuration
parameter "hadoop.job.history.user.location" with value as "none".

But, I don't know how to avoid the creation of _SUCCESS folder. Can
anyone please help.

 

Note: For now, as a work around, I am using FileSystem commands at the
end of job to delete the folder manually.

 

Anand B

Confidential: This electronic message and all contents contain
information from Syntel, Inc. which may be privileged, confidential or
otherwise protected from disclosure. The information is intended to be
for the addressee only. If you are not the addressee, any disclosure,
copy, distribution or use of the contents of this message is prohibited.
If you have received this electronic message in error, please notify the
sender immediately and destroy the original message and all copies.





 

-- 
"...:::Aniket:::... Quetzalco@tl"


Confidential: This electronic message and all contents contain information from 
Syntel, Inc. which may be privileged, confidential or otherwise protected from 
disclosure. The information is intended to be for the addressee only. If you 
are not the addressee, any disclosure, copy, distribution or use of the 
contents of this message is prohibited. If you have received this electronic 
message in error, please notify the sender immediately and destroy the original 
message and all copies.

Reply via email to