You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Tony Reix (JIRA)" <ji...@apache.org> on 2015/04/23 17:02:39 UTC

[jira] [Resolved] (PARQUET-249) Parquet does not compile with -Phadoop-2

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

Tony Reix resolved PARQUET-249.
-------------------------------
    Resolution: Not A Problem

Not an issue.
1) Build without -P
2° Run tests with -P hadoop-2

> Parquet does not compile with -Phadoop-2
> ----------------------------------------
>
>                 Key: PARQUET-249
>                 URL: https://issues.apache.org/jira/browse/PARQUET-249
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-mr
>    Affects Versions: 1.6.0
>         Environment: RHEL 7.1 on x86_64 & PPC64LE
>            Reporter: Tony Reix
>            Priority: Minor
>
> When running:
> mvn clean install -l ../mvn.CleanInstallTest.res -fn ; mvn test -l ../mvn.Test.res6 -fn -X
> I get 510 tests run and 0 error and 0 failure.
> If now I do (adding -Phadoop-2) :
> mvn clean install -l ../mvn.CleanInstallTest.res -fn -Phadoop-2
> Parquet no more compiles. With errors:
> [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ parquet-common ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 3 source files to /home/reixt/PARQUET/APACHE/incubator-parquet-mr/parquet-common/target/test-classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /home/reixt/PARQUET/APACHE/incubator-parquet-mr/parquet-common/src/test/java/parquet/bytes/TestBytesUtil.java:[22,28] cannot find symbol
>   symbol:   class BytesUtils
>   location: package parquet.bytes
> [ERROR] /home/reixt/PARQUET/APACHE/incubator-parquet-mr/parquet-common/src/test/java/parquet/bytes/TestBytesUtil.java:[22,1] static import only from classes and interfaces
> [ERROR] /home/reixt/PARQUET/APACHE/incubator-parquet-mr/parquet-common/src/test/java/parquet/bytes/TestBytesUtil.java:[30,21] cannot find symbol
>   symbol:   method getWidthFromMaxInt(int)
> Am I wrong ? or is there an issue with Parquet 1.6.0 ?
> I did:
> $ git clone https://github.com/apache/incubator-parquet-mr.git
> $ git status
> # On branch master
> $ mvn clean install -l ../mvn.CleanInstallTest.res-Phadoop-2 -fn -Phadoop-2
> No changes in source code.
> I've recreated my environment on x86_64 to check and to be sure. The same.
> Does it mean that Parquet is not compatible with Hadoop 2 ?
> Or an issue in pom.xml code ?



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