You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Nezih Yigitbasi (JIRA)" <ji...@apache.org> on 2015/07/24 08:08:05 UTC

[jira] [Comment Edited] (PARQUET-342) Can't build Parquet on Java 6

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

Nezih Yigitbasi edited comment on PARQUET-342 at 7/24/15 6:07 AM:
------------------------------------------------------------------

Totally agreed. Since Parquet can already be compiled with Java 7 (and it has long been since Java 6 is EOL), it seems like it's time to move.


was (Author: nezihyigitbasi):
Totally agreed. Since Parquet can already be compiled with Java 7, it seems like it's time to move.

> Can't build Parquet on Java 6
> -----------------------------
>
>                 Key: PARQUET-342
>                 URL: https://issues.apache.org/jira/browse/PARQUET-342
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-mr
>            Reporter: Nezih Yigitbasi
>            Assignee: Nezih Yigitbasi
>
> I am having problems building the latest master with Java 6. I tried building the whole project 
> {noformat}mvn clean install -DskipTests{noformat}
>  and I also tried building individual modules 
> {noformat}mvn --projects parquet-common -am -amd -U clean install -DskipTests{noformat}
> Both fail with the same error shown below. SemanticVersion class uses Integer.compare(int,int) which was introduced in Java 1.7, but, AFAIK and according to the pom file (and to PARQUET-146) Parquet should still be built using Java 6. Similarly TestInputOutputFormatWithPadding and TestInputOutputFormat classes depend on java.nio.file package that was introduced in Java 1.7
> When I switch over to Java 7 the build succeeds.



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