Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Build new Spark-Tensorflow-Connector for scala 2.12 #194

Description

@wuxianxingkong

Spark has released 3.x which built with scala 2.12, but th newest version of Spark-Tensorflow-Connector is built with scala 2.11 which means not compatiable with spark 3.x. Maven repository is still 2.11.

Activity

  1. yiwei00000 commented on Feb 11, 2022

    @yiwei00000

    Spark has released 3.x which built with scala 2.12, but th newest version of Spark-Tensorflow-Connector is built with scala 2.11 which means not compatiable with spark 3.x. Maven repository is still 2.11.

    You can build 2.12 by yourself!!!

  2. yiwei00000 commented on Feb 11, 2022

    @yiwei00000

    Spark has released 3.x which built with scala 2.12, but th newest version of Spark-Tensorflow-Connector is built with scala 2.11 which means not compatiable with spark 3.x. Maven repository is still 2.11.

    Also, you use spark-tfrecord https://github.com/linkedin/spark-tfrecord, that support scala 2.12.

  3. dennisobrien commented on Feb 20, 2022

    @dennisobrien

    It would be great to have an example of how to build this for Spark 3.x and Tensorflow 2.x

    I tried a number of combinations with no success. I can build the jar, but it writes an empty TFRecord file.

    If others have successfully built the jar for Spark 3.x and Tensorflow 2.x I'd love to hear the details.

  4. wuxianxingkong commented on Mar 3, 2022

    @wuxianxingkong
    Author

    @dennisobrien Hi, try this: https://github.com/wuxianxingkong/spark-tfrecord (Built with spark 3.1.1 and scala 2.12)

  5. yundai424 commented on Jul 27, 2022

    @yundai424

    It would be super helpful if TF team could kindly help releasing spark-tensorflow-connector built with scala 2.12 to maven artifact 🙌 Right now the best workaround seems to be spark-tfrecord but there'll be migration effort across products using it ..

  6. ssabzevari-antuit commented on Mar 26, 2025

    @ssabzevari-antuit

    Is this still not available? It seems it is not in Maven but Databricks is working fine, seems they compiled it for scala 2.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions