You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2017/12/20 16:14:01 UTC

[jira] [Commented] (HADOOP-14877) Trunk compilation fails in windows

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

Steve Loughran commented on HADOOP-14877:
-----------------------------------------

I'm getting different failures

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.
Issue 2: hadoop-hdfs not compiling with xref issues. Not seen this before. protoc? Paths? Case logic? 

Oddly enough, it's imports of inner enums which aren't being found.
{code}
[ERROR] /C:/Work/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java:[77,72] cannot find symbol
[ERROR] symbol:   class AccessMode
[ERROR] location: class org.apache.hadoop.hdfs.security.token.block.BlockTokenIdentifier
{code}

This file is in hadoop-client, and I've verified that the file BlockTokenIdentified$AccessMode.class is in the compiled directory tree. Not getting into JAR, wrong JAR version, CP setup for javac?

> 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
>
> {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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org