“Protocol buffer - installation” : for Hadoop installation on windows 10, maven, 64 bit

1,160 views
Skip to first unread message

Omkar Kulkarni

unread,
Nov 2, 2016, 8:06:39 PM11/2/16
to Protocol Buffers, Omkar Kulkarni

I am trying to install hadoop based on below link :

http://www.srccodes.com/p/article/38/build-install-configure-run-apache-hadoop-2.2.0-microsoft-windows-os

However, on trying to build hadoop from source I get below error :

[ERROR] Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:2.7.3:protoc (compile-protoc) on project hadoop-common: org.apache.maven.plugin.MojoExecutionException: 'protoc --version' did not return a version -> [Help 1]

But on checking protocol buffer version I get below error :

C:\hds\hadoop-2.7.3-src>protoc -version 'protoc' is not recognized as an internal or external command, operable program or batch file.

I have extracted "Protocol Buffer" in C:\protobuf-master and set environment PATH to C:\protobuf-master

Observation : I do not see protoc.exe or any BIN folder in C:\protobuf-master

  1. Do I need to build "Protocol Buffer" for use in windows?
  2. I could not find any pre-built "Protocol Buffer"at https://github.com/google/protobuf

I am using windows 10, 64 bit system. trying to build hadoop eventually to use Spark. please help.

Feng Xiao

unread,
Nov 2, 2016, 8:09:20 PM11/2/16
to Omkar Kulkarni, Protocol Buffers
You can down load the pre-built protocol compiler binary in the release page:

Scroll down to the downloads section and there is a protoc-3.1.0-win32.zip package.
 

I am using windows 10, 64 bit system. trying to build hadoop eventually to use Spark. please help.

--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscribe@googlegroups.com.
To post to this group, send email to prot...@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages