You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2020/09/14 06:36:00 UTC

[jira] [Resolved] (SPARK-32873) Fix code which causes error when build with sbt and Scala 2.13

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

Hyukjin Kwon resolved SPARK-32873.
----------------------------------
    Fix Version/s: 3.1.0
       Resolution: Fixed

Issue resolved by pull request 29745
[https://github.com/apache/spark/pull/29745]

> Fix code which causes error when build with sbt and Scala 2.13
> --------------------------------------------------------------
>
>                 Key: SPARK-32873
>                 URL: https://issues.apache.org/jira/browse/SPARK-32873
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Build
>    Affects Versions: 3.1.0
>            Reporter: Kousuke Saruta
>            Assignee: Kousuke Saruta
>            Priority: Minor
>             Fix For: 3.1.0
>
>
> When we try to build Spark with sbt and Spark 2.13, some piece of code causes error.
> {code:java}
> [error] [warn] /home/kou/work/oss/spark-scala-2.13/external/kafka-0-10/src/main/scala/org/apache/spark/streaming/kafka010/KafkaRDD.scala:251: method with a single empty parameter list overrides method without any parameter list                                                                
> [error] [warn]   override def hasNext(): Boolean = requestOffset < part.untilOffset                                                               
> [error] [warn]                                                                                                                                    
> [error] [warn] /home/kou/work/oss/spark-scala-2.13/external/kafka-0-10/src/main/scala/org/apache/spark/streaming/kafka010/KafkaRDD.scala:294: method with a single empty parameter list overrides method without any parameter list                                                                
> [error] [warn]   override def hasNext(): Boolean = okNext     {code}



--
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