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

Joep Rottinghuis commented on HDFS-2189:
----------------------------------------

I was asked why this patch has to be rolled back.
This patch adds a dependency on org.apache.hadoop#guava version r09.
The modified file is used to generate a POM.
In downstream builds this POM is used to determine what other dependencies need 
to be pulled in when the hadoop-hdfs jar is pulled in.
Problem is that org.apache.hadoop#guava does not exist, it anything it should 
be com.google.guava#guava.
In other words the group ID is wrong.

Moreover, it is not clear this is the correct fix for the original mapreduce 
compilation error in the first place. It is likely that the proper fix is to 
put the dependency in the template for mapreduce (resulting in the guava jar to 
be downloaded in the lib directory for the mapreduce build). Preliminary tests 
show this to be the case, but I need to do further testing.

One way or the other, this patch does not work and causes downstream problems.

> guava-r09 dependency missing from "ivy/hadoop-hdfs-template.xml" in HDFS.
> -------------------------------------------------------------------------
>
>                 Key: HDFS-2189
>                 URL: https://issues.apache.org/jira/browse/HDFS-2189
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.22.0
>            Reporter: Plamen Jeliazkov
>            Assignee: Plamen Jeliazkov
>            Priority: Blocker
>             Fix For: 0.22.0
>
>         Attachments: patch.txt
>
>
> Corrected version of: https://issues.apache.org/jira/browse/MAPREDUCE-2627

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

        

Reply via email to