hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam liu <samliuhad...@gmail.com>
Subject Failed to run 'mvn package' on hadoop-2.2 using Cygwin
Date Wed, 21 May 2014 03:29:51 GMT
Hi Experts,

I can use Cygwin to build hadoop-1.1.1, however failed on hadoop-2.2, as I
always encountter issue:







*[INFO] --- hadoop-maven-plugins:2.2.0:protoc (compile-protoc) @
hadoop-common ---[WARNING] [/home/sam/protobuf-win/bin/protoc, --version]
failed: java.io.IOException: Cannot run program
"/home/sam/protobuf-win/bin/protoc": CreateProcess error=2, The system
cannot find the file specified.[ERROR] stdout: []... ....[ERROR] Failed to
execute goal org.apache.hadoop:hadoop-maven-plugins:2.2.0:protoc
(compile-protoc) on project hadoop-common:
org.apache.maven.plugin.MojoExecutionException: 'protoc --version' did not
return a version -> [Help 1][ERROR][ERROR] To see the full stack trace of
the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the
-X switch to enable full debug logging.*

*But, actually I can run '$ /home/sam/protobuf-win/bin/protoc --version' or
'protoc --version', and it will return 'libprotoc 2.5'.*

Any comments?

Thanks!

Mime
View raw message