Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wuxianxingkong opened this issue Jan 7, 2022 · 5 comments
Open

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

wuxianxingkong opened this issue Jan 7, 2022 · 5 comments

Comments

@wuxianxingkong
Copy link

wuxianxingkong commented Jan 7, 2022

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.

@yiwei00000
Copy link

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

@yiwei00000
Copy link

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.

@dennisobrien
Copy link

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.

@wuxianxingkong
Copy link
Author

wuxianxingkong commented Mar 3, 2022

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

@yundai424
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants