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

Vinayakumar B commented on HADOOP-13363:
----------------------------------------

{quote}<!-- In theory we need not directly depend on protobuf since Spark does 
not directly
 use it. However, when building with Hadoop/YARN 2.2 Maven doesn't correctly 
bump
 the protobuf version up from the one Mesos gives. For now we include this 
variable
 to explicitly bump the version when building with YARN. It would be nice to 
figure
 out why Maven can't resolve this correctly (like SBT does). -->
 <dependency> 
     <groupId>com.google.protobuf</groupId>
     <artifactId>protobuf-java</artifactId>
     <version>${protobuf.version}</version>
     <scope>${hadoop.deps.scope}</scope>
 </dependency>
{quote}
I found this in the spark's root pom.xml. {{$\{protobuf.version}}} is 2.5.0 
there. And all the class paths are having 2.5.0 instead of 3.7.1 from trunk 
hadoop.

providing {{-Dprotobuf.version=3.7.1}} would solve I guess.

> Upgrade protobuf from 2.5.0 to something newer
> ----------------------------------------------
>
>                 Key: HADOOP-13363
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13363
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 3.0.0-alpha1, 3.0.0-alpha2
>            Reporter: Anu Engineer
>            Assignee: Vinayakumar B
>            Priority: Major
>              Labels: security
>         Attachments: HADOOP-13363.001.patch, HADOOP-13363.002.patch, 
> HADOOP-13363.003.patch, HADOOP-13363.004.patch, HADOOP-13363.005.patch
>
>
> Standard protobuf 2.5.0 does not work properly on many platforms.  (See, for 
> example, https://gist.github.com/BennettSmith/7111094 ).  In order for us to 
> avoid crazy work arounds in the build environment and the fact that 2.5.0 is 
> starting to slowly disappear as a standard install-able package for even 
> Linux/x86, we need to either upgrade or self bundle or something else.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to