Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-342

Can't build Parquet on Java 6

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0, 1.8.2
    • Component/s: parquet-mr
    • Labels:
      None

      Description

      I am having problems building the latest master with Java 6. I tried building the whole project

      mvn clean install -DskipTests

      and I also tried building individual modules

      mvn --projects parquet-common -am -amd -U clean install -DskipTests

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nezihyigitbasi Nezih Yigitbasi
                Reporter:
                nezihyigitbasi Nezih Yigitbasi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: