You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After packaging to .jar file, I add it to intelliJ IDEA as library. And I get this error.
"java.lang.NoClassDefFoundError: org/apache/spark/Logging", because of the "Logging" class is "private[spark]".
How could I use IndexedRDD in ide?
The text was updated successfully, but these errors were encountered:
Don't know about @DouYishun problem, but I was having the same issue as @linmingze. It probably is some problem with dependency resolution.
It's basically the same issue described in #8
The workaround I used was building the package myself through the sbt assembly command, so it included all the dependencies in the target .jar, which then I pass as argument when invoking spark-shell or spark-submit.
After packaging to .jar file, I add it to intelliJ IDEA as library. And I get this error.
"java.lang.NoClassDefFoundError: org/apache/spark/Logging", because of the "Logging" class is "private[spark]".
How could I use IndexedRDD in ide?
The text was updated successfully, but these errors were encountered: