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

Íñigo Goiri commented on HADOOP-14813:
--------------------------------------

We still see this issue in Windows for trunk:
{code:java}
[INFO] --- native-maven-plugin:1.0-alpha-8:javah (default) @ hadoop-common ---
[INFO] cmd.exe /X /C "C:\PROGRA~1\Java\jdk1.8.0_162\bin\javah -d 
D:\hadoop-trunk\hadoop-common-project\hadoop-common\target\native\javah 
-classpath 
D:\hadoop-trunk\hadoop-common-project\hadoop-common\target\classes;D:\hadoop-trunk\hadoop-common-project\hadoop-annotations\target\hadoop-annotations-3.2.0-SNAPSHOT.jar;C:\PROGRA~1\Java\jdk1.8.0_162\jre\..\lib\tools.jar;C:\Users\inigog\.m2\repository\com\google\guava\guava\11.0.2\guava-11.0.2.jar;C:\Users\inigog\.m2\repository\commons-cli\commons-cli\1.2\commons-cli-1.2.jar;C:\Users\inigog\.m2\repository\org\apache\commons\commons-math3\3.1.1\commons-math3-3.1.1.jar;C:\Users\inigog\.m2\repository\org\apache\httpcomponents\httpclient\4.5.2\httpclient-4.5.2.jar;C:\Users\inigog\.m2\repository\org\apache\httpcomponents\httpcore\4.4.4\httpcore-4.4.4.jar;C:\Users\inigog\.m2\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;C:\Users\inigog\.m2\repository\commons-io\commons-io\2.5\commons-io-2.5.jar;C:\Users\inigog\.m2\repository\commons-net\commons-net\3.6\commons-net-3.6.jar;C:\Users\inigog\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\inigog\.m2\repository\javax\servlet\javax.servlet-api\3.1.0\javax.servlet-api-3.1.0.jar;C:\Users\inigog\.m2\repository\org\eclipse\jetty\jetty-server\9.3.19.v20170502\jetty-server-9.3.19.v20170502.jar;C:\Users\inigog\.m2\repository\org\eclipse\jetty\jetty-http\9.3.19.v20170502\jetty-http-9.3.19.v20170502.jar;C:\Users\inigog\.m2\repository\org\eclipse\jetty\jetty-io\9.3.19.v20170502\jetty-io-9.3.19.v20170502.jar;C:\Users\inigog\.m2\repository\org\eclipse\jetty\jetty-util\9.3.19.v20170502\jetty-util-9.3.19.v20170502.jar;C:\Users\inigog\.m2\repository\org\eclipse\jetty\jetty-servlet\9.3.19.v20170502\jetty-servlet-9.3.19.v20170502.jar;C:\Users\inigog\.m2\repository\org\eclipse\jetty\jetty-security\9.3.19.v20170502\jetty-security-9.3.19.v20170502.jar;C:\Users\inigog\.m2\repository\org\eclipse\jetty\jetty-webapp\9.3.19.v20170502\jetty-webapp-9.3.19.v20170502.jar;C:\Users\inigog\.m2\repository\org\eclipse\jetty\jetty-xml\9.3.19.v20170502\jetty-xml-9.3.19.v20170502.jar;C:\Users\inigog\.m2\repository\com\sun\jersey\jersey-core\1.19\jersey-core-1.19.jar;C:\Users\inigog\.m2\repository\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;C:\Users\inigog\.m2\repository\com\sun\jersey\jersey-servlet\1.19\jersey-servlet-1.19.jar;C:\Users\inigog\.m2\repository\com\sun\jersey\jersey-json\1.19\jersey-json-1.19.jar;C:\Users\inigog\.m2\repository\org\codehaus\jettison\jettison\1.1\jettison-1.1.jar;C:\Users\inigog\.m2\repository\com\sun\xml\bind\jaxb-impl\2.2.3-1\jaxb-impl-2.2.3-1.jar;C:\Users\inigog\.m2\repository\javax\xml\bind\jaxb-api\2.2.11\jaxb-api-2.2.11.jar;C:\Users\inigog\.m2\repository\org\codehaus\jackson\jackson-core-asl\1.9.13\jackson-core-asl-1.9.13.jar;C:\Users\inigog\.m2\repository\org\codehaus\jackson\jackson-mapper-asl\1.9.13\jackson-mapper-asl-1.9.13.jar;C:\Users\inigog\.m2\repository\org\codehaus\jackson\jackson-jaxrs\1.9.13\jackson-jaxrs-1.9.13.jar;C:\Users\inigog\.m2\repository\org\codehaus\jackson\jackson-xc\1.9.13\jackson-xc-1.9.13.jar;C:\Users\inigog\.m2\repository\com\sun\jersey\jersey-server\1.19\jersey-server-1.19.jar;C:\Users\inigog\.m2\repository\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;C:\Users\inigog\.m2\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar;C:\Users\inigog\.m2\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;C:\Users\inigog\.m2\repository\commons-beanutils\commons-beanutils\1.9.3\commons-beanutils-1.9.3.jar;C:\Users\inigog\.m2\repository\org\apache\commons\commons-configuration2\2.1.1\commons-configuration2-2.1.1.jar;C:\Users\inigog\.m2\repository\org\apache\commons\commons-lang3\3.4\commons-lang3-3.4.jar;C:\Users\inigog\.m2\repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;C:\Users\inigog\.m2\repository\org\slf4j\slf4j-log4j12\1.7.25\slf4j-log4j12-1.7.25.jar;C:\Users\inigog\.m2\repository\org\apache\avro\avro\1.7.7\avro-1.7.7.jar;C:\Users\inigog\.m2\repository\com\thoughtworks\paranamer\paranamer\2.3\paranamer-2.3.jar;C:\Users\inigog\.m2\repository\org\xerial\snappy\snappy-java\1.0.5\snappy-java-1.0.5.jar;C:\Users\inigog\.m2\repository\com\google\re2j\re2j\1.1\re2j-1.1.jar;C:\Users\inigog\.m2\repository\com\google\protobuf\protobuf-java\2.5.0\protobuf-java-2.5.0.jar;C:\Users\inigog\.m2\repository\com\google\code\gson\gson\2.2.4\gson-2.2.4.jar;D:\hadoop-trunk\hadoop-common-project\hadoop-auth\target\hadoop-auth-3.2.0-SNAPSHOT.jar;C:\Users\inigog\.m2\repository\com\nimbusds\nimbus-jose-jwt\4.41.1\nimbus-jose-jwt-4.41.1.jar;C:\Users\inigog\.m2\repository\com\github\stephenc\jcip\jcip-annotations\1.0-1\jcip-annotations-1.0-1.jar;C:\Users\inigog\.m2\repository\net\minidev\json-smart\2.3\json-smart-2.3.jar;C:\Users\inigog\.m2\repository\net\minidev\accessors-smart\1.2\accessors-smart-1.2.jar;C:\Users\inigog\.m2\repository\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar;C:\Users\inigog\.m2\repository\org\apache\curator\curator-framework\2.12.0\curator-framework-2.12.0.jar;C:\Users\inigog\.m2\repository\com\jcraft\jsch\0.1.54\jsch-0.1.54.jar;C:\Users\inigog\.m2\repository\org\apache\curator\curator-client\2.12.0\curator-client-2.12.0.jar;C:\Users\inigog\.m2\repository\org\apache\curator\curator-recipes\2.12.0\curator-recipes-2.12.0.jar;C:\Users\inigog\.m2\repository\com\google\code\findbugs\jsr305\3.0.0\jsr305-3.0.0.jar;C:\Users\inigog\.m2\repository\org\apache\htrace\htrace-core4\4.1.0-incubating\htrace-core4-4.1.0-incubating.jar;C:\Users\inigog\.m2\repository\org\apache\zookeeper\zookeeper\3.4.9\zookeeper-3.4.9.jar;C:\Users\inigog\.m2\repository\io\netty\netty\3.10.5.Final\netty-3.10.5.Final.jar;C:\Users\inigog\.m2\repository\org\apache\commons\commons-compress\1.4.1\commons-compress-1.4.1.jar;C:\Users\inigog\.m2\repository\org\tukaani\xz\1.0\xz-1.0.jar;C:\Users\inigog\.m2\repository\org\apache\kerby\kerb-simplekdc\1.0.1\kerb-simplekdc-1.0.1.jar;C:\Users\inigog\.m2\repository\org\apache\kerby\kerb-client\1.0.1\kerb-client-1.0.1.jar;C:\Users\inigog\.m2\repository\org\apache\kerby\kerby-config\1.0.1\kerby-config-1.0.1.jar;C:\Users\inigog\.m2\repository\org\apache\kerby\kerb-core\1.0.1\kerb-core-1.0.1.jar;C:\Users\inigog\.m2\repository\org\apache\kerby\kerby-pkix\1.0.1\kerby-pkix-1.0.1.jar;C:\Users\inigog\.m2\repository\org\apache\kerby\kerby-asn1\1.0.1\kerby-asn1-1.0.1.jar;C:\Users\inigog\.m2\repository\org\apache\kerby\kerby-util\1.0.1\kerby-util-1.0.1.jar;C:\Users\inigog\.m2\repository\org\apache\kerby\kerb-common\1.0.1\kerb-common-1.0.1.jar;C:\Users\inigog\.m2\repository\org\apache\kerby\kerb-crypto\1.0.1\kerb-crypto-1.0.1.jar;C:\Users\inigog\.m2\repository\org\apache\kerby\kerb-util\1.0.1\kerb-util-1.0.1.jar;C:\Users\inigog\.m2\repository\org\apache\kerby\token-provider\1.0.1\token-provider-1.0.1.jar;C:\Users\inigog\.m2\repository\org\apache\kerby\kerb-admin\1.0.1\kerb-admin-1.0.1.jar;C:\Users\inigog\.m2\repository\org\apache\kerby\kerb-server\1.0.1\kerb-server-1.0.1.jar;C:\Users\inigog\.m2\repository\org\apache\kerby\kerb-identity\1.0.1\kerb-identity-1.0.1.jar;C:\Users\inigog\.m2\repository\org\apache\kerby\kerby-xdr\1.0.1\kerby-xdr-1.0.1.jar;C:\Users\inigog\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.7.8\jackson-databind-2.7.8.jar;C:\Users\inigog\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.7.8\jackson-annotations-2.7.8.jar;C:\Users\inigog\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.7.8\jackson-core-2.7.8.jar;C:\Users\inigog\.m2\repository\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;C:\Users\inigog\.m2\repository\com\fasterxml\woodstox\woodstox-core\5.0.3\woodstox-core-5.0.3.jar
 org.apache.hadoop.io.compress.zlib.ZlibCompressor 
org.apache.hadoop.io.compress.zlib.ZlibDecompressor 
org.apache.hadoop.security.JniBasedUnixGroupsMapping 
org.apache.hadoop.io.nativeio.NativeIO 
org.apache.hadoop.security.JniBasedUnixGroupsNetgroupMapping 
org.apache.hadoop.io.compress.snappy.SnappyCompressor 
org.apache.hadoop.io.compress.snappy.SnappyDecompressor 
org.apache.hadoop.io.compress.zstd.ZStandardCompressor 
org.apache.hadoop.io.compress.zstd.ZStandardDecompressor 
org.apache.hadoop.io.compress.lz4.Lz4Compressor 
org.apache.hadoop.io.compress.lz4.Lz4Decompressor 
org.apache.hadoop.io.erasurecode.ErasureCodeNative 
org.apache.hadoop.io.erasurecode.rawcoder.NativeRSRawEncoder 
org.apache.hadoop.io.erasurecode.rawcoder.NativeRSRawDecoder 
org.apache.hadoop.io.erasurecode.rawcoder.NativeXORRawEncoder 
org.apache.hadoop.io.erasurecode.rawcoder.NativeXORRawDecoder 
org.apache.hadoop.crypto.OpensslCipher 
org.apache.hadoop.crypto.random.OpensslSecureRandom 
org.apache.hadoop.util.NativeCrc32"
The command line is too long.
{code}
This was fine until 3.X, but when we added the EC drivers, it started failing.

Any update on moving the classpath into a file?

> Windows build fails "command line too long"
> -------------------------------------------
>
>                 Key: HADOOP-14813
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14813
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.0.0-alpha3
>         Environment: Windows. username "Administrator"
>            Reporter: Steve Loughran
>            Priority: Minor
>
> Trying to build trunk as user "administrator" is failing in - 
> native-maven-plugin/hadoop common; command line too long. By the look of 
> things, its the number of artifacts from the maven repository which is 
> filling up the line; the CP really needs to go in a file instead, assuming 
> the maven plugin will let us.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to