spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dongjoon Hyun (Jira)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-29662) Cannot have circular references in bean class, but got the circular reference of class class io.cdap.cdap.api.data.schema.Schema
Date Wed, 30 Oct 2019 16:35:00 GMT

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

Dongjoon Hyun commented on SPARK-29662:
---------------------------------------

Hi, [~coudray]. What is `CDAP`? Since Apache Spark 2.3.x is EOL, could you try Apache Spark
2.4.4?

> Cannot have circular references in bean class, but got the circular reference of class
class io.cdap.cdap.api.data.schema.Schema
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-29662
>                 URL: https://issues.apache.org/jira/browse/SPARK-29662
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.3.4
>            Reporter: romain
>            Priority: Major
>
> i'm unable to convert JavaRdd<StructuredRecord> to DataSet<Row> 
> i'm using cdap 6.0.0 or 5.1.2 with spark 2.3.4
> Encoder<StructuredRecord> encoderStruct = Encoders.bean(StructuredRecord.class);
> this line make this error: 
> "Cannot have circular references in bean class, but got the circular reference of class
class io.cdap.cdap.api.data.schema.Schema"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message