You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Stan Rosenberg (JIRA)" <ji...@apache.org> on 2018/01/30 23:48:00 UTC
[jira] [Updated] (AVRO-2138)
org.apache.avro.mapreduce.AvroMultipleOutputs.write copies Configuration on
every invocation of write
[ https://issues.apache.org/jira/browse/AVRO-2138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stan Rosenberg updated AVRO-2138:
---------------------------------
Summary: org.apache.avro.mapreduce.AvroMultipleOutputs.write copies Configuration on every invocation of write (was: org.apache.avro.mapreduce.AvroMultipleOutputs.write _copies_ Configuration on _every_ invocation of write)
> org.apache.avro.mapreduce.AvroMultipleOutputs.write copies Configuration on every invocation of write
> -----------------------------------------------------------------------------------------------------
>
> Key: AVRO-2138
> URL: https://issues.apache.org/jira/browse/AVRO-2138
> Project: Avro
> Issue Type: Bug
> Affects Versions: 1.8.2
> Reporter: Stan Rosenberg
> Priority: Major
>
> While profiling a spark job using AvroMultipleOutputs, I noticed that a great deal of time is wasted by copying (hadoop) Configuration. Indeed this happens on _every_ invocation of {{write}}: [https://github.com/apache/avro/blob/master/lang/java/mapred/src/main/java/org/apache/avro/mapreduce/AvroMultipleOutputs.java#L437]
> After patching, I am seeing a speed-up of 2x and above in running time of the same job.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)