spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (Jira)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-32873) Fix code which causes error when build with sbt and Scala 2.13
Date Mon, 14 Sep 2020 03:41:00 GMT

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

Apache Spark commented on SPARK-32873:
--------------------------------------

User 'sarutak' has created a pull request for this issue:
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
>
> 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


Mime
View raw message