impala-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Volker (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IMPALA-5344) Frontend tests do not work with Java 8
Date Thu, 29 Jun 2017 04:29:00 GMT

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

Lars Volker resolved IMPALA-5344.
---------------------------------
       Resolution: Fixed
         Assignee: Lars Volker
    Fix Version/s: Impala 2.10.0


IMPALA-3643/IMPALA-5344: Fix FE tests on Java 8

This change fixes the frontend tests to make them run on Java 8, by
replacing HashMap with LinkedHashMap and HashSet with LinkedHashSet
where needed.

To test this I ran the frontend tests using both Oracle Java 7 and
Oracle Java 8 and made sure they passed. I also verified that the tests
pass with OpenJDK 7.

Change-Id: Iad8e1dccec3a51293a109c420bd2b88b9d1e0625
Reviewed-on: http://gerrit.cloudera.org:8080/7073
Reviewed-by: Lars Volker <lv@cloudera.com>
Tested-by: Impala Public Jenkins

> Frontend tests do not work with Java 8
> --------------------------------------
>
>                 Key: IMPALA-5344
>                 URL: https://issues.apache.org/jira/browse/IMPALA-5344
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>    Affects Versions: Impala 2.8.0
>         Environment: Ubuntu 16.04
> Linux 4.4.0-24-generic #43-Ubuntu
> java version "1.8.0_131"
> Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
>            Reporter: Jim Apple
>            Assignee: Lars Volker
>              Labels: flaky
>             Fix For: Impala 2.10.0
>
>         Attachments: java-8-fe-test-logs.zip
>
>
> The frontend tests pass Under Oracle Java 7 but fail under Oracle Java 8.
> {noformat}
> $ grep -iE 'failures: [^0]' *.txt
> org.apache.impala.analysis.AuthorizationTest.txt:Tests run: 72, Failures: 2, Errors:
0, Skipped: 0, Time elapsed: 15.424 sec <<< FAILURE! - in org.apache.impala.analysis.AuthorizationTest
> org.apache.impala.planner.PlannerTest.txt:Tests run: 53, Failures: 5, Errors: 0, Skipped:
0, Time elapsed: 51.82 sec <<< FAILURE! - in org.apache.impala.planner.PlannerTest
> {noformat}
> Some failures look similar to IMPALA-3643.



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

Mime
View raw message