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

Doug Cutting commented on MAPREDUCE-3039:
-----------------------------------------

> Should I remove the new Utf8(String...) code and put straight Strings into 
> the map in JobSubmittedEvent?

No.  The jobAcls field is only accessed by JobSubmittedEvent.  That class is 
consistent about using Utf8 to access the Map, so results should be correct.  
Intermixing String and Utf8 as keys in a Map<CharSequence,?> would likely cause 
problems.  (This is a known issue with Avro: AVRO-803.)

I think the patch looks good as it is.  +1

> Make mapreduce use same version of avro as HBase
> ------------------------------------------------
>
>                 Key: MAPREDUCE-3039
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3039
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/capacity-sched, contrib/fair-share, 
> contrib/gridmix, contrib/mrunit, contrib/mumak, contrib/raid, 
> contrib/streaming, jobhistoryserver
>    Affects Versions: 0.22.0
>            Reporter: Joep Rottinghuis
>            Assignee: Joep Rottinghuis
>             Fix For: 0.22.0
>
>         Attachments: MAPREDUCE-3039-branch-0.22.patch
>
>
> HBase depends on avro 1.5.3 whereas hadoop-common depends on 1.3.2.
> When building HBase on top of hadoop, this should be consistent.
> Moreover, this should be consistent between common, hdfs, and mapreduce.
> Contribs seem to have declared a dependency on avro but are not in fact 
> depending on it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to