From commits-return-12575-archive-asf-public=cust-asf.ponee.io@hudi.apache.org Wed Mar 4 15:45:03 2020 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 2B4D3180668 for ; Wed, 4 Mar 2020 16:45:03 +0100 (CET) Received: (qmail 9131 invoked by uid 500); 4 Mar 2020 15:45:02 -0000 Mailing-List: contact commits-help@hudi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hudi.apache.org Delivered-To: mailing list commits@hudi.apache.org Received: (qmail 9119 invoked by uid 99); 4 Mar 2020 15:45:02 -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; Wed, 04 Mar 2020 15:45:02 +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 8FABBE2CF8 for ; Wed, 4 Mar 2020 15:45: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 5690F782317 for ; Wed, 4 Mar 2020 15:45:00 +0000 (UTC) Date: Wed, 4 Mar 2020 15:45:00 +0000 (UTC) From: "lamber-ken (Jira)" To: commits@hudi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (HUDI-545) Throw NoSuchElementException when init IncrementalRelation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HUDI-545?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] lamber-ken closed HUDI-545. --------------------------- Resolution: Duplicate Duplicated to https://issues.apache.org/jira/browse/HUDI-528 > Throw NoSuchElementException when init IncrementalRelation > ---------------------------------------------------------- > > Key: HUDI-545 > URL: https://issues.apache.org/jira/browse/HUDI-545 > Project: Apache Hudi (incubating) > Issue Type: Bug > Components: Incremental Pull > Reporter: lamber-ken > Assignee: lamber-ken > Priority: Major > Attachments: image-2020-01-17-10-03-23-268.png, image-2020-01-17-= 10-07-31-105.png > > > If there is an empty commit in HUDI storage then Incremental Pulling thro= ws "java.util.NoSuchElementException".=C2=A0 > {code:java} > 20/01/16 19:22:49 ERROR Client: Application diagnostics message: User cla= ss threw exception: java.util.NoSuchElementException > at java.util.HashMap$HashIterator.nextNode(HashMap.java:1447) > at java.util.HashMap$ValueIterator.next(HashMap.java:1474) > at org.apache.hudi.IncrementalRelation.(IncrementalRelation.sca= la:80) > at org.apache.hudi.DefaultSource.createRelation(DefaultSource.scala:6= 5) > at org.apache.hudi.DefaultSource.createRelation(DefaultSource.scala:4= 6) > at org.apache.spark.sql.execution.datasources.DataSource.resolveRelat= ion(DataSource.scala:318) > at org.apache.spark.sql.DataFrameReader.l3oadV1Source(DataFrameReader= .scala:223) > at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:21= 1) > at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:17= 8) > at com.amazon.finautopolarisdataplanesparkemr.emr.java.SparkHiveDataL= oadCoreHudiReader.readData(SparkHiveDataLoadCoreHudiReader.java:147) > at com.amazon.finautopolarisdataplanesparkemr.emr.java.SparkHiveDataL= oadCoreHudiReader.start(SparkHiveDataLoadCoreHudiReader.java:73) > at com.amazon.finautopolarisdataplanesparkemr.emr.java.SparkHiveDataL= oadCoreHudiReader.main(SparkHiveDataLoadCoreHudiReader.java:36) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm= pl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc= cessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.spark.deploy.yarn.ApplicationMaster$$anon$2.run(Applica= tionMaster.scala:684) > Exception in thread "main" org.apache.spark.SparkException: Application a= pplication_1579116139216_0082 finished with failed status > at org.apache.spark.deploy.yarn.Client.run(Client.scala:1149) > at org.apache.spark.deploy.yarn.YarnClusterApplication.start(Client.s= cala:1526) > at org.apache.spark.deploy.SparkSubmit.org$apache$spark$deploy$SparkS= ubmit$$runMain(SparkSubmit.scala:853) > at org.apache.spark.deploy.SparkSubmit.doRunMain$1(SparkSubmit.scala:= 161) > at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:184) > at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:86) > at org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.s= cala:928) > at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:937) > at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)