hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HADOOP-11752) Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:2.4.0:protoc (compile-protoc) on project hadoop-common: org.apache.maven.plugin.MojoExecutionException: protoc failure -> [Help 1]
Date Thu, 26 Mar 2015 03:39:53 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-11752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Haohui Mai resolved HADOOP-11752.
---------------------------------
          Resolution: Invalid
    Target Version/s: 2.6.0, 2.4.0  (was: 2.4.0, 2.6.0)

> Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:2.4.0:protoc (compile-protoc)
on project hadoop-common: org.apache.maven.plugin.MojoExecutionException: protoc failure ->
[Help 1]
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-11752
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11752
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 2.4.0, 2.6.0
>         Environment: Operating System: Windows 8.1 64Bit
> Cygwin 64Bit
> protobuf-2.5.0
> protoc 2.5.0
> hadoop-2.4.0-src
> apache-maven-3.3.1
>            Reporter: Venkata Sravan Kumar Talasila
>              Labels: build, maven
>
> while build of Hadoop, I am facing the below error
> Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:2.4.0:protoc (compile-protoc)
on project hadoop-common: org.apache.maven.plugin.MojoExecutionException: protoc failure ->
[Help 1]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Hadoop Common 2.4.0
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-antrun-plugin:1.7:run (create-testdirs) @ hadoop-common ---
> [INFO] Executing tasks
> main:
> [INFO] Executed tasks
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-os) @ hadoop-common ---
> [INFO]
> [INFO] --- hadoop-maven-plugins:2.4.0:protoc (compile-protoc) @ hadoop-common ---
> [WARNING] [C:\cygwin64\usr\local\bin\protoc.exe, 
> --java_out=C:\cygwin64\usr\local\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\target\generated-sources\java,
> -IC:\cygwin64\usr\local\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\src\main\proto,

> C:\cygwin64\usr\local\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\src\main\proto\GetUserMappingsProtocol.proto,
C:\cygwin64\usr\local\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\src\main\proto\HAServiceProtocol.proto,
C:\cygwin64\usr\local\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\src\main\proto\IpcConnectionContext.proto,
C:\cygwin64\usr\local\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\src\main\proto\ProtobufRpcEngine.proto,
C:\cygwin64\usr\local\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\src\main\proto\ProtocolInfo.proto,

> C:\cygwin64\usr\local\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\src\main\proto\RefreshAuthorizationPolicyProtocol.proto,
C:\cygwin64\usr\local\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\src\main\proto\RefreshCallQueueProtocol.proto,
C:\cygwin64\usr\local\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\src\main\proto\RefreshUserMappingsProtocol.proto,
C:\cygwin64\usr\local\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\src\main\proto\RpcHeader.proto,

> C:\cygwin64\usr\local\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\src\main\proto\Security.proto,

> C:\cygwin64\usr\local\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\src\main\proto\ZKFCProtocol.proto]
failed with error code 1
> [ERROR] protoc compiler error
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Hadoop Main ................................. SUCCESS [  6.080 s]
> [INFO] Apache Hadoop Project POM .......................... SUCCESS [  2.140 s]
> [INFO] Apache Hadoop Annotations .......................... SUCCESS [  2.691 s]
> [INFO] Apache Hadoop Project Dist POM ..................... SUCCESS [  1.250 s]
> [INFO] Apache Hadoop Assemblies ........................... SUCCESS [  0.453 s]
> [INFO] Apache Hadoop Maven Plugins ........................ SUCCESS [  6.932 s]
> [INFO] Apache Hadoop MiniKDC .............................. SUCCESS [01:59 min]
> [INFO] Apache Hadoop Auth ................................. SUCCESS [11:02 min]
> [INFO] Apache Hadoop Auth Examples ........................ SUCCESS [  3.697 s]
> [INFO] Apache Hadoop Common ............................... FAILURE [  4.067 s]
> [INFO] Apache Hadoop NFS .................................. SKIPPED
> [INFO] Apache Hadoop Common Project ....................... SKIPPED
> [INFO] Apache Hadoop HDFS ................................. SKIPPED
> [INFO] Apache Hadoop HttpFS ............................... SKIPPED
> [INFO] Apache Hadoop HDFS BookKeeper Journal .............. SKIPPED
> [INFO] Apache Hadoop HDFS-NFS ............................. SKIPPED
> [INFO] Apache Hadoop HDFS Project ......................... SKIPPED
> [INFO] hadoop-yarn ........................................ SKIPPED
> [INFO] hadoop-yarn-api .................................... SKIPPED
> [INFO] hadoop-yarn-common ................................. SKIPPED
> [INFO] hadoop-yarn-server ................................. SKIPPED
> [INFO] hadoop-yarn-server-common .......................... SKIPPED
> [INFO] hadoop-yarn-server-nodemanager ..................... SKIPPED
> [INFO] hadoop-yarn-server-web-proxy ....................... SKIPPED
> [INFO] hadoop-yarn-server-applicationhistoryservice ....... SKIPPED
> [INFO] hadoop-yarn-server-resourcemanager ................. SKIPPED
> [INFO] hadoop-yarn-server-tests ........................... SKIPPED
> [INFO] hadoop-yarn-client ................................. SKIPPED
> [INFO] hadoop-yarn-applications ........................... SKIPPED
> [INFO] hadoop-yarn-applications-distributedshell .......... SKIPPED
> [INFO] hadoop-yarn-applications-unmanaged-am-launcher ..... SKIPPED
> [INFO] hadoop-yarn-site ................................... SKIPPED
> [INFO] hadoop-yarn-project ................................ SKIPPED
> [INFO] hadoop-mapreduce-client ............................ SKIPPED
> [INFO] hadoop-mapreduce-client-core ....................... SKIPPED
> [INFO] hadoop-mapreduce-client-common ..................... SKIPPED
> [INFO] hadoop-mapreduce-client-shuffle .................... SKIPPED
> [INFO] hadoop-mapreduce-client-app ........................ SKIPPED
> [INFO] hadoop-mapreduce-client-hs ......................... SKIPPED
> [INFO] hadoop-mapreduce-client-jobclient .................. SKIPPED
> [INFO] hadoop-mapreduce-client-hs-plugins ................. SKIPPED
> [INFO] Apache Hadoop MapReduce Examples ................... SKIPPED
> [INFO] hadoop-mapreduce ................................... SKIPPED
> [INFO] Apache Hadoop MapReduce Streaming .................. SKIPPED
> [INFO] Apache Hadoop Distributed Copy ..................... SKIPPED
> [INFO] Apache Hadoop Archives ............................. SKIPPED
> [INFO] Apache Hadoop Rumen ................................ SKIPPED
> [INFO] Apache Hadoop Gridmix .............................. SKIPPED
> [INFO] Apache Hadoop Data Join ............................ SKIPPED
> [INFO] Apache Hadoop Extras ............................... SKIPPED
> [INFO] Apache Hadoop Pipes ................................ SKIPPED
> [INFO] Apache Hadoop OpenStack support .................... SKIPPED
> [INFO] Apache Hadoop Client ............................... SKIPPED
> [INFO] Apache Hadoop Mini-Cluster ......................... SKIPPED
> [INFO] Apache Hadoop Scheduler Load Simulator ............. SKIPPED
> [INFO] Apache Hadoop Tools Dist ........................... SKIPPED
> [INFO] Apache Hadoop Tools ................................ SKIPPED
> [INFO] Apache Hadoop Distribution ......................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 13:38 min
> [INFO] Finished at: 2015-03-25T20:22:08-05:00
> [INFO] Final Memory: 44M/401M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:2.4.0:protoc (compile-protoc)
on project hadoop-common: org.apache.maven.plugin.MojoExecutionException: protoc failure ->
[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.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :hadoop-common
> Below are the settings:
> Modified ProtocMojo.java:
> C:\cygwin64\usr\local\hadoop-2.4.0-src\hadoop-maven-plugins\src\main\java\org\apache\hadoop\maven\plugin\protoc
> at line59: protocCommand = "C:\\cygwin64\\usr\\local\\bin\\protoc.exe";
> User Variables:
> HADOOP_HOME: C:\cygwin64\usr\local\hadoop-2.4.0-src
> HADOOP_PROTOC_PATH: C:\cygwin64\usr\local\bin
> JAVA_HOME: C:\Java
> M2_HOME: C:\cygwin64\usr\local\apache-maven-3.3.1
> M_NET: C:\Windows\Microsoft.NET\Framework\v4.0.30319
> Platform: x64
> path: C:\Program Files\Java\jdk1.8.0_40\bin
> system variables:
> Path: C:\ProgramData\Oracle\Java\javapath;c:\Program Files (x86)\Intel\iCLS Client\;c:\Program
Files\Intel\iCLS Client\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program
Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management
Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program
Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Windows
Live\Shared;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Windows Kits\8.1\Windows
Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files
(x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Java\bin;C:\cygwin64\usr\local\apache-maven-3.3.1\bin;C:\Program
Files (x86)\Git\bin;C:\cygwin64\usr\local\bin\protoc.exe;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\cygwin64\bin;C:\cygwin64\usr\local\protobuf-2.5.0;



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message