From issues-return-168041-archive-asf-public=cust-asf.ponee.io@hive.apache.org Tue Oct 1 07:56:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 91901180608 for ; Tue, 1 Oct 2019 09:56:03 +0200 (CEST) Received: (qmail 83730 invoked by uid 500); 1 Oct 2019 07:56:03 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 83714 invoked by uid 99); 1 Oct 2019 07:56:03 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Oct 2019 07:56:03 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id F1C1BE30AA for ; Tue, 1 Oct 2019 07:56:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 52C197807D9 for ; Tue, 1 Oct 2019 07:56:00 +0000 (UTC) Date: Tue, 1 Oct 2019 07:56:00 +0000 (UTC) From: "Attila Magyar (Jira)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-22097) Incompatible java.util.ArrayList for java 11 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-22097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Attila Magyar updated HIVE-22097: --------------------------------- Status: Open (was: Patch Available) > Incompatible java.util.ArrayList for java 11 > -------------------------------------------- > > Key: HIVE-22097 > URL: https://issues.apache.org/jira/browse/HIVE-22097 > Project: Hive > Issue Type: Improvement > Components: Query Processor > Affects Versions: 3.1.1, 3.0.0 > Reporter: Yuming Wang > Assignee: Attila Magyar > Priority: Major > Attachments: HIVE-22097.1.patch, JDK1.8.png, JDK11.png > > > {noformat} > export JAVA_HOME=/usr/lib/jdk-11.0.3 > export PATH=${JAVA_HOME}/bin:${PATH} > hive> create table t(id int); > Time taken: 0.035 seconds > hive> insert into t values(1); > Query ID = root_20190811155400_7c0e0494-eecb-4c54-a9fd-942ab52a0794 > Total jobs = 3 > Launching Job 1 out of 3 > Number of reduce tasks determined at compile time: 1 > In order to change the average load for a reducer (in bytes): > set hive.exec.reducers.bytes.per.reducer= > In order to limit the maximum number of reducers: > set hive.exec.reducers.max= > In order to set a constant number of reducers: > set mapreduce.job.reduces= > java.lang.RuntimeException: java.lang.NoSuchFieldException: parentOffset > at org.apache.hadoop.hive.ql.exec.SerializationUtilities$ArrayListSubListSerializer.(SerializationUtilities.java:390) > at org.apache.hadoop.hive.ql.exec.SerializationUtilities$1.create(SerializationUtilities.java:235) > at org.apache.hive.com.esotericsoftware.kryo.pool.KryoPoolQueueImpl.borrow(KryoPoolQueueImpl.java:48) > at org.apache.hadoop.hive.ql.exec.SerializationUtilities.borrowKryo(SerializationUtilities.java:280) > at org.apache.hadoop.hive.ql.exec.Utilities.setBaseWork(Utilities.java:595) > at org.apache.hadoop.hive.ql.exec.Utilities.setMapWork(Utilities.java:587) > at org.apache.hadoop.hive.ql.exec.Utilities.setMapRedWork(Utilities.java:579) > at org.apache.hadoop.hive.ql.exec.mr.ExecDriver.execute(ExecDriver.java:357) > at org.apache.hadoop.hive.ql.exec.mr.MapRedTask.execute(MapRedTask.java:159) > at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:212) > at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:103) > at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:2317) > at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1969) > at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1636) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1396) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1390) > at org.apache.hadoop.hive.ql.reexec.ReExecDriver.run(ReExecDriver.java:162) > at org.apache.hadoop.hive.ql.reexec.ReExecDriver.run(ReExecDriver.java:223) > at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:242) > at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:189) > at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:408) > at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:838) > at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:777) > at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:696) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.apache.hadoop.util.RunJar.run(RunJar.java:323) > at org.apache.hadoop.util.RunJar.main(RunJar.java:236) > Caused by: java.lang.NoSuchFieldException: parentOffset > at java.base/java.lang.Class.getDeclaredField(Class.java:2412) > at org.apache.hadoop.hive.ql.exec.SerializationUtilities$ArrayListSubListSerializer.(SerializationUtilities.java:384) > ... 29 more > Job Submission failed with exception 'java.lang.RuntimeException(java.lang.NoSuchFieldException: parentOffset)' > FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask. java.lang.NoSuchFieldException: parentOffset > {noformat} > The reason is Java removed {{parentOffset}}: > !JDK1.8.png! > !JDK11.png! -- This message was sent by Atlassian Jira (v8.3.4#803005)