hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HADOOP-10166) I am not able to run mvn package -Pdist,native-win -DskipTests -Dtar
Date Thu, 27 Mar 2014 16:51:16 GMT

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

Chris Nauroth resolved HADOOP-10166.
------------------------------------

    Resolution: Invalid

I'm resolving this as invalid.  As stated by Steve, it appears that you don't have msbuild
on the PATH, so it can't compile the native code required for Windows.

http://wiki.apache.org/hadoop/InvalidJiraIssues


> I am not able to run mvn package -Pdist,native-win -DskipTests -Dtar
> --------------------------------------------------------------------
>
>                 Key: HADOOP-10166
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10166
>             Project: Hadoop Common
>          Issue Type: Bug
>         Environment: window 8
>            Reporter: Nalini Ranjan
>
> When i try to build hadoop common i am getting below error.
> Loading source files for package org.apache.hadoop.security.authentication.examples...
> Constructing Javadoc information...
> Standard Doclet version 1.7.0_17
> Building tree for all the packages and classes...
> Generating C:\hdfs\common\hadoop-common-project\hadoop-auth-examples\target\org\apache\hadoop\security\authentication\examples\RequestLoggerFilter.htm
> l...
> Generating C:\hdfs\common\hadoop-common-project\hadoop-auth-examples\target\org\apache\hadoop\security\authentication\examples\WhoClient.html...
> Generating C:\hdfs\common\hadoop-common-project\hadoop-auth-examples\target\org\apache\hadoop\security\authentication\examples\WhoServlet.html...
> Generating C:\hdfs\common\hadoop-common-project\hadoop-auth-examples\target\org\apache\hadoop\security\authentication\examples\package-frame.html...
> Generating C:\hdfs\common\hadoop-common-project\hadoop-auth-examples\target\org\apache\hadoop\security\authentication\examples\package-summary.html...
> Generating C:\hdfs\common\hadoop-common-project\hadoop-auth-examples\target\org\apache\hadoop\security\authentication\examples\package-tree.html...
> Generating C:\hdfs\common\hadoop-common-project\hadoop-auth-examples\target\constant-values.html...
> Generating C:\hdfs\common\hadoop-common-project\hadoop-auth-examples\target\serialized-form.html...
> Generating C:\hdfs\common\hadoop-common-project\hadoop-auth-examples\target\org\apache\hadoop\security\authentication\examples\class-use\WhoServlet.ht
> ml...
> Generating C:\hdfs\common\hadoop-common-project\hadoop-auth-examples\target\org\apache\hadoop\security\authentication\examples\class-use\WhoClient.htm
> l...
> Generating C:\hdfs\common\hadoop-common-project\hadoop-auth-examples\target\org\apache\hadoop\security\authentication\examples\class-use\RequestLogger
> Filter.html...
> Generating C:\hdfs\common\hadoop-common-project\hadoop-auth-examples\target\org\apache\hadoop\security\authentication\examples\package-use.html...
> Building index for all the packages and classes...
> Generating C:\hdfs\common\hadoop-common-project\hadoop-auth-examples\target\overview-tree.html...
> Generating C:\hdfs\common\hadoop-common-project\hadoop-auth-examples\target\index-all.html...
> Generating C:\hdfs\common\hadoop-common-project\hadoop-auth-examples\target\deprecated-list.html...
> Building index for all classes...
> Generating C:\hdfs\common\hadoop-common-project\hadoop-auth-examples\target\allclasses-frame.html...
> Generating C:\hdfs\common\hadoop-common-project\hadoop-auth-examples\target\allclasses-noframe.html...
> Generating C:\hdfs\common\hadoop-common-project\hadoop-auth-examples\target\index.html...
> Generating C:\hdfs\common\hadoop-common-project\hadoop-auth-examples\target\help-doc.html...
> [INFO] Building jar: C:\hdfs\common\hadoop-common-project\hadoop-auth-examples\target\hadoop-auth-examples-3.0.0-SNAPSHOT-javadoc.jar
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Hadoop Common 3.0.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-os) @ hadoop-common ---
> [INFO]
> [INFO] --- maven-antrun-plugin:1.7:run (create-testdirs) @ hadoop-common ---
> [INFO] Executing tasks
> main:
> [INFO] Executed tasks
> [INFO]
> [INFO] --- hadoop-maven-plugins:3.0.0-SNAPSHOT:protoc (compile-protoc) @ hadoop-common
---
> [INFO]
> [INFO] --- hadoop-maven-plugins:3.0.0-SNAPSHOT:version-info (version-info) @ hadoop-common
---
> [WARNING] [svn, info] failed: java.io.IOException: Cannot run program "svn": CreateProcess
error=2, The system cannot find the file specified
> [WARNING] [git, branch] failed: java.io.IOException: Cannot run program "git": CreateProcess
error=2, The system cannot find the file specified
> [INFO] SCM: NONE
> [INFO] Computed MD5: 9d8075203e1bd5184e801b2d7354da4a
> [INFO]
> [INFO] --- maven-resources-plugin:2.2:resources (default-resources) @ hadoop-common ---
> [INFO] Using default encoding to copy filtered resources.
> [INFO]
> [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ hadoop-common ---
> [INFO] Compiling 12 source files to C:\hdfs\common\hadoop-common-project\hadoop-common\target\classes
> [INFO]
> [INFO] --- native-maven-plugin:1.0-alpha-7:javah (default) @ hadoop-common ---
> [INFO] cmd.exe /X /C "C:\Java\jdk1.7.0_17\bin\javah -d C:\hdfs\common\hadoop-common-project\hadoop-common\target\native\javah
-classpath C:\hdfs\commo
> n\hadoop-common-project\hadoop-common\target\classes;C:\hdfs\common\hadoop-common-project\hadoop-annotations\target\hadoop-annotations-3.0.0-SNAPSHOT.
> jar;C:\Java\jdk1.7.0_17\jre\..\lib\tools.jar;C:\Users\Pushpa\.m2\repository\com\google\guava\guava\11.0.2\guava-11.0.2.jar;C:\Users\Pushpa\.m2\reposit
> ory\commons-cli\commons-cli\1.2\commons-cli-1.2.jar;C:\Users\Pushpa\.m2\repository\org\apache\commons\commons-math3\3.1.1\commons-math3-3.1.1.jar;C:\U
> sers\Pushpa\.m2\repository\xmlenc\xmlenc\0.52\xmlenc-0.52.jar;C:\Users\Pushpa\.m2\repository\commons-httpclient\commons-httpclient\3.1\commons-httpcli
> ent-3.1.jar;C:\Users\Pushpa\.m2\repository\commons-codec\commons-codec\1.4\commons-codec-1.4.jar;C:\Users\Pushpa\.m2\repository\commons-io\commons-io\
> 2.4\commons-io-2.4.jar;C:\Users\Pushpa\.m2\repository\commons-net\commons-net\3.1\commons-net-3.1.jar;C:\Users\Pushpa\.m2\repository\commons-collectio
> ns\commons-collections\3.2.1\commons-collections-3.2.1.jar;C:\Users\Pushpa\.m2\repository\javax\servlet\servlet-api\2.5\servlet-api-2.5.jar;C:\Users\P
> ushpa\.m2\repository\org\mortbay\jetty\jetty\6.1.26\jetty-6.1.26.jar;C:\Users\Pushpa\.m2\repository\org\mortbay\jetty\jetty-util\6.1.26\jetty-util-6.1
> .26.jar;C:\Users\Pushpa\.m2\repository\com\sun\jersey\jersey-core\1.9\jersey-core-1.9.jar;C:\Users\Pushpa\.m2\repository\com\sun\jersey\jersey-json\1.
> 9\jersey-json-1.9.jar;C:\Users\Pushpa\.m2\repository\org\codehaus\jettison\jettison\1.1\jettison-1.1.jar;C:\Users\Pushpa\.m2\repository\stax\stax-api\
> 1.0.1\stax-api-1.0.1.jar;C:\Users\Pushpa\.m2\repository\com\sun\xml\bind\jaxb-impl\2.2.3-1\jaxb-impl-2.2.3-1.jar;C:\Users\Pushpa\.m2\repository\javax\
> xml\bind\jaxb-api\2.2.2\jaxb-api-2.2.2.jar;C:\Users\Pushpa\.m2\repository\javax\activation\activation\1.1\activation-1.1.jar;C:\Users\Pushpa\.m2\repos
> itory\org\codehaus\jackson\jackson-jaxrs\1.8.8\jackson-jaxrs-1.8.8.jar;C:\Users\Pushpa\.m2\repository\org\codehaus\jackson\jackson-xc\1.8.8\jackson-xc
> -1.8.8.jar;C:\Users\Pushpa\.m2\repository\com\sun\jersey\jersey-server\1.9\jersey-server-1.9.jar;C:\Users\Pushpa\.m2\repository\asm\asm\3.2\asm-3.2.ja
> r;C:\Users\Pushpa\.m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;C:\Users\Pushpa\.m2\repository\log4j\log4j\1.2.17\log
> 4j-1.2.17.jar;C:\Users\Pushpa\.m2\repository\net\java\dev\jets3t\jets3t\0.9.0\jets3t-0.9.0.jar;C:\Users\Pushpa\.m2\repository\org\apache\httpcomponent
> s\httpclient\4.2.5\httpclient-4.2.5.jar;C:\Users\Pushpa\.m2\repository\org\apache\httpcomponents\httpcore\4.2.5\httpcore-4.2.5.jar;C:\Users\Pushpa\.m2
> \repository\com\jamesmurty\utils\java-xmlbuilder\0.4\java-xmlbuilder-0.4.jar;C:\Users\Pushpa\.m2\repository\commons-lang\commons-lang\2.6\commons-lang
> -2.6.jar;C:\Users\Pushpa\.m2\repository\commons-configuration\commons-configuration\1.6\commons-configuration-1.6.jar;C:\Users\Pushpa\.m2\repository\c
> ommons-digester\commons-digester\1.8\commons-digester-1.8.jar;C:\Users\Pushpa\.m2\repository\commons-beanutils\commons-beanutils\1.7.0\commons-beanuti
> ls-1.7.0.jar;C:\Users\Pushpa\.m2\repository\commons-beanutils\commons-beanutils-core\1.8.0\commons-beanutils-core-1.8.0.jar;C:\Users\Pushpa\.m2\reposi
> tory\org\slf4j\slf4j-api\1.7.5\slf4j-api-1.7.5.jar;C:\Users\Pushpa\.m2\repository\org\codehaus\jackson\jackson-core-asl\1.8.8\jackson-core-asl-1.8.8.j
> ar;C:\Users\Pushpa\.m2\repository\org\codehaus\jackson\jackson-mapper-asl\1.8.8\jackson-mapper-asl-1.8.8.jar;C:\Users\Pushpa\.m2\repository\org\apache
> \avro\avro\1.7.4\avro-1.7.4.jar;C:\Users\Pushpa\.m2\repository\com\thoughtworks\paranamer\paranamer\2.3\paranamer-2.3.jar;C:\Users\Pushpa\.m2\reposito
> ry\org\xerial\snappy\snappy-java\1.0.4.1\snappy-java-1.0.4.1.jar;C:\Users\Pushpa\.m2\repository\com\google\protobuf\protobuf-java\2.5.0\protobuf-java-
> 2.5.0.jar;C:\hdfs\common\hadoop-common-project\hadoop-auth\target\hadoop-auth-3.0.0-SNAPSHOT.jar;C:\Users\Pushpa\.m2\repository\com\jcraft\jsch\0.1.42
> \jsch-0.1.42.jar;C:\Users\Pushpa\.m2\repository\com\google\code\findbugs\jsr305\1.3.9\jsr305-1.3.9.jar;C:\Users\Pushpa\.m2\repository\org\apache\zooke
> eper\zookeeper\3.4.5\zookeeper-3.4.5.jar;C:\Users\Pushpa\.m2\repository\org\apache\commons\commons-compress\1.4.1\commons-compress-1.4.1.jar;C:\Users\
> Pushpa\.m2\repository\org\tukaani\xz\1.0\xz-1.0.jar org.apache.hadoop.io.compress.zlib.ZlibCompressor
org.apache.hadoop.io.compress.zlib.ZlibDecompres
> sor org.apache.hadoop.security.JniBasedUnixGroupsMapping org.apache.hadoop.io.nativeio.NativeIO
org.apache.hadoop.security.JniBasedUnixGroupsNetgroupM
> apping org.apache.hadoop.io.compress.snappy.SnappyCompressor org.apache.hadoop.io.compress.snappy.SnappyDecompressor
org.apache.hadoop.io.compress.lz4
> .Lz4Compressor org.apache.hadoop.io.compress.lz4.Lz4Decompressor org.apache.hadoop.util.NativeCrc32"
> [INFO]
> [INFO] --- exec-maven-plugin:1.2:exec (compile-ms-winutils) @ hadoop-common ---
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Hadoop Main ................................ SUCCESS [1.641s]
> [INFO] Apache Hadoop Project POM ......................... SUCCESS [1.520s]
> [INFO] Apache Hadoop Annotations ......................... SUCCESS [3.854s]
> [INFO] Apache Hadoop Assemblies .......................... SUCCESS [0.258s]
> [INFO] Apache Hadoop Project Dist POM .................... SUCCESS [2.229s]
> [INFO] Apache Hadoop Maven Plugins ....................... SUCCESS [3.851s]
> [INFO] Apache Hadoop MiniKDC ............................. SUCCESS [3.013s]
> [INFO] Apache Hadoop Auth ................................ SUCCESS [4.154s]
> [INFO] Apache Hadoop Auth Examples ....................... SUCCESS [2.457s]
> [INFO] Apache Hadoop Common .............................. FAILURE [9.363s]
> [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-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-mapreduce-client ........................... SKIPPED
> [INFO] hadoop-mapreduce-client-core ...................... SKIPPED
> [INFO] hadoop-yarn-applications-unmanaged-am-launcher .... SKIPPED
> [INFO] hadoop-yarn-site .................................. SKIPPED
> [INFO] hadoop-yarn-project ............................... 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: 35.162s
> [INFO] Finished at: Sun Dec 15 23:45:56 IST 2013
> [INFO] Final Memory: 51M/491M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (compile-ms-winutils)
on project hadoop-common: Command execution failed.
> Cannot run program "msbuild" (in directory "C:\hdfs\common\hadoop-common-project\hadoop-common"):
CreateProcess error=2, The system cannot find the fi
> le specified -> [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
> C:\hdfs\common>mvn package -Pdist,native-win -DskipTests -Dtar



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message