linkedin / spark-tfrecord

Read and write Tensorflow TFRecord data from Apache Spark.
BSD 2-Clause "Simplified" License
290 stars 57 forks source link

I not understand how to run it , use java -cp jar #23

Closed TIXhjq closed 2 years ago

TIXhjq commented 3 years ago

I used maven to type my project into a jar package, but he seems to show that there is no such package. How should this be solved?

1.When I run idea, everything is OK 2.I try to java -cp ....jar com. ... get error =>

截屏2021-04-20 下午12 28 48

It seems that I didn't type it into the jar package, but I don't know how to solve this problem, I only use this in my pom.xml

截屏2021-04-20 下午12 36 46
junshi15 commented 3 years ago

This package needs Spark. Are you saying you launch Spark with "java -cp ..."? I use spark-submit or spark-shell instead (see the example in README), have not tried with "java -cp ..." on this.

TIXhjq commented 3 years ago

Thank you for your reply. I found that the whole jar package of MVN package doesn't seem to have this package. There is something wrong with me.

junshi15 commented 3 years ago

glad you identified the issue.