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

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

Kousuke Saruta created SPARK-32873:
--------------------------------------

             Summary: 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: Bug
          Components: Build
    Affects Versions: 3.1.0
            Reporter: Kousuke Saruta
            Assignee: Kousuke Saruta


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: met\
hod 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: met\
hod 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