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

Brahma Reddy Battula commented on HADOOP-14877:
-----------------------------------------------

bq.Issue 1: command line for javah too big. Fix: build local 
maven-native-plugin java 1.0.9-SNAPSHOT and set the <useenv> option. This gets 
hadoop-common to build.
This I fixed by setting the repo path shorter (i.e 
-Dmaven.repo.local=D:/repo).Same I have suggested in user [mailing 
list|https://mail-archives.apache.org/mod_mbox/hadoop-common-dev/201702.mbox/%3cdm3pr18mb079583b2b7578530e7657fdde1...@dm3pr18mb0795.namprd18.prod.outlook.com%3E].Hope
 you also getting the same. Your patch make sense to me,as we can't retrict. 
bq.Issue 2: hadoop-hdfs not compiling with xref issues. Not seen this before. 
protoc? Paths? Case logic?
I didn't face this issue.and {{mvn package -Pdist -DskipTests 
-Dmaven.javadoc.skip=true -DskipShade}} will success in my PC.

Coming to this jira, this will come always,if we execute without 
"{{-DskipShade}}"(i.e {{mvn clean install -DskipTests}}) since winddows path 
seperator is not handled in 
[ensure-jars-have-correct-contents.sh|https://github.com/apache/hadoop/blob/trunk/hadoop-client-modules/hadoop-client-check-invariants/src/test/resources/ensure-jars-have-correct-contents.sh#L63]

> Trunk compilation fails in windows
> ----------------------------------
>
>                 Key: HADOOP-14877
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14877
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.1.0
>         Environment: windows
>            Reporter: Brahma Reddy Battula
>         Attachments: HADOOP-14877-001.patch
>
>
> {noformat}
> [INFO] Dependencies classpath:
> D:\trunk\hadoop\hadoop-client-modules\hadoop-client-runtime\target\hadoop-client-runtime-3.1.0-SNAPSHOT.jar;D:\trunk\had
> oop\hadoop-client-modules\hadoop-client-api\target\hadoop-client-api-3.1.0-SNAPSHOT.jar
> [INFO]
> [INFO] --- exec-maven-plugin:1.3.1:exec (check-jar-contents) @ 
> hadoop-client-check-invariants ---
> java.io.FileNotFoundException: D (The system cannot find the file specified)
>         at java.util.zip.ZipFile.open(Native Method)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:219)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:149)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:120)
>         at sun.tools.jar.Main.list(Main.java:1115)
>         at sun.tools.jar.Main.run(Main.java:293)
>         at sun.tools.jar.Main.main(Main.java:1288)
> java.io.FileNotFoundException: 
> \trunk\hadoop\hadoop-client-modules\hadoop-client-runtime\target\hadoop-client-runtime-3.
> 1.0-SNAPSHOT.jar;D (The system cannot find the file specified)
>         at java.util.zip.ZipFile.open(Native Method)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:219)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:149)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:120)
>         at sun.tools.jar.Main.list(Main.java:1115)
>         at sun.tools.jar.Main.run(Main.java:293)
>         at sun.tools.jar.Main.main(Main.java:1288)
> [INFO] Artifact looks correct: 'D'
> [INFO] Artifact looks correct: 'hadoop-client-runtime-3.1.0-SNAPSHOT.jar;D'
> [ERROR] Found artifact with unexpected contents: 
> '\trunk\hadoop\hadoop-client-modules\hadoop-client-api\target\hadoop-cl
> ient-api-3.1.0-SNAPSHOT.jar'
>     Please check the following and either correct the build or update
>     the allowed list with reasoning.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to