Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-10667

Clean up Scala 2.10 remnants

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.6.3, 1.7.0
    • Fix Version/s: None
    • Component/s: API / Scala
    • Labels:
      None

      Description

      Currently there are couple of places which reference Scala 2.10 in our code base:

      git grep "2\.10" | grep -i scala
      docs/dev/connectors/kafka.md:        <td>Since 0.11.x Kafka does not support scala 2.10. This connector supports <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-98+-+Exactly+Once+Delivery+and+Transactional+Messaging">Kafka transactional messaging</a> to provide exactly once semantic for the producer.</td>
      docs/dev/projectsetup/scala_api_quickstart.md:  * [Scala IDE for Scala 2.11](http://download.scala-ide.org/sdk/helium/e38/scala211/stable/site) or [Scala IDE for Scala 2.10](http://download.scala-ide.org/sdk/helium/e38/scala210/stable/site)
      flink-contrib/docker-flink/README.md:    docker build --build-arg FLINK_VERSION=1.0.3 --build-arg HADOOP_VERSION=26 --build-arg SCALA_VERSION=2.10 -t "flink:1.0.3-hadoop2.6-scala_2.10" flink
      flink-libraries/flink-table/src/main/scala/org/apache/flink/table/codegen/package.scala:  // Used in ExpressionCodeGenerator because Scala 2.10 reflection is not thread safe. We might
      flink-scala-shell/start-script/start-scala-shell.sh:# from scala-lang 2.10.4
      flink-scala-shell/start-script/start-scala-shell.sh:# in scala shell since 2.10, has to be done at startup
      flink-scala/src/main/scala/org/apache/flink/api/scala/codegen/TypeAnalyzer.scala:        // convention, compatible with Scala 2.10
      flink-scala/src/main/scala/org/apache/flink/api/scala/codegen/TypeAnalyzer.scala:        // TODO: use this once 2.10 is no longer supported
      

      Those should be looked into.

        Attachments

          Activity

            People

            • Assignee:
              hequn8128 Hequn Cheng
              Reporter:
              pnowojski Piotr Nowojski
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: