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

Renato Javier MarroquĂ­n Mogrovejo commented on GORA-144:
--------------------------------------------------------

I also think the maven profile would be the right approach specially because we 
support many different projects with their own requirements.
I know Giraph uses a mvn plugin, that I don't recall, to have different 
versions of Hadoop inside their code. Of course the code doesn't look so 
straight forward any more, but you get a lot of flexibility for doing that.

> Upgrade gora so to be compatible with hadoop 2
> ----------------------------------------------
>
>                 Key: GORA-144
>                 URL: https://issues.apache.org/jira/browse/GORA-144
>             Project: Apache Gora
>          Issue Type: Task
>          Components: avro, build process, maven
>    Affects Versions: 0.2
>            Reporter: raf shin
>            Assignee: Talat UYARER
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: GORA-144-v1.patch, GORA-144-v2.patch, GORA-144v3.patch
>
>
> TaskAttemptContext and JobContext which were a class in previous hadoop 
> versions are now interfaces.
> Compiling gora with new hadoop version 2 fails.
> BinaryDecoder and BinaryEncoder in Avro 1.5.4 are also now interfaces which 
> were previously class.
> avro.ipc.ByteBufferOutputStream and avro.ipc.ByteBufferInputStream are also 
> moved to avro.util package.
> There might be much more incompatibilities there which we have not seen yet.
> We gave up upgrading our nutchgora to the new hadoop 2 version.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to