-
Notifications
You must be signed in to change notification settings - Fork 15
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
Error starting webserver at spark shell #295
Comments
Hi @vaibhavkhanduja thanks for reporting this. I haven't used DDS in a while but I'll try to help you. Can you provide me with the command you used to start it? What version of Spark and DDS are you using? |
I checked out latest version of spark, and compiled the spark shell. Checked out spawncamping-dds from github and compiled all with scala 11.8. Did following: a) /bin/spark-shell --jars spawncamping-dds-_.jar b) import de.frosner.dds.core.DDS._ c) start() to see above error ... |
What is the DDS jar in your local dir exactly? Can you give your full spark-shell command? Where did you get the jar from? Do you have the full stacktrace? |
I haven't actually tested against any new version of Spark because the project is kind of on hold. Sorry for that. |
Does it also happen with Scala 2.10? |
yes same with Scala 2.10
I build DDS jars both for 2.10 and 2.11 ./bin/spark-shell --jars ./spawncamping-dds/target/scala-2.10/spawncamping-dds-4.0.0-gamma-SNAPSHOT_2.10.jar |
Please try combining the Scala versions in a matching way. You mentioned that you compiled Spark against Scala 2.11 so please try to use DDS with 2.11 as well. They of course need to be the same.
Let me know if it works :)
--
Sent from my phone. Please excuse my brevity.
On 12/24/2016, 02:16 Vaibhav Khanduja <[email protected]> wrote:
yes same with Scala 2.10
What is the DDS jar in your local dir exactly? Can you give your full spark-shell command? Where did you get the jar from?
I build DDS jars both for 2.10 and 2.11
./bin/spark-shell --jars ./spawncamping-dds/target/scala-2.10/spawncamping-dds-4.0.0-gamma-SNAPSHOT_2.10.jar
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Also try with a pre-built jar please (https://github.com/FRosner/spawncamping-dds/releases) to avoid building it wrongly or some problem in the master branch. Please make sure the Scala versions of DDS and Spark match. |
Nope same error 👎 ... I am using scala 2.11 with spark and same with DDS. BTW, fyi this is on OSX MaC. May be I am missing some simple configuration? |
@FRosner this is larger stack trace .. if it helps java.lang.NoClassDefFoundError: org/apache/spark/sql/DataFrame |
From stack overflow: "In Spark 2.0 class DataFrame was removed, currently there is only type DataFrame = Dataset[Row]. Please change dependency version to 2.0 or change cluster version to < 2.0" |
Well! finally got it working 👍
Walah!! @FRosner Thanks for your help here. We can probably keep this open to support Spark 2.x? |
I opened #296 for that but I am currently not able to spend any time on this project unfortunately. |
Are you guys open for a pull request?
Thanks,
Sent from my iPhone. Please excuse for typos and brevity of this message.
… On Dec 25, 2016, at 4:41 AM, Frank Rosner ***@***.***> wrote:
I opened #296 for that but I am currently not able to spend any time on this project unfortunately.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sure :)
Are you seriously considering to use it or just trying out?
--
Sent from my phone. Please excuse my brevity.
|
For now trying out ... I like it is light and works with spark as it is out main tool
Sent from my iPhone. Please excuse for typos and brevity of this message.
… On Dec 25, 2016, at 9:40 AM, Frank Rosner ***@***.***> wrote:
Sure :)
Are you seriously considering to use it or just trying out?
--
Sent from my phone. Please excuse my brevity.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sure so feel free to try it out and if you want to port it to Spark 2 I'm happy to merge it :)
Next thing I need to port is https://github.com/FRosner/drunken-data-quality <https://github.com/FRosner/drunken-data-quality>
|
I followed the steps as mentioned in front Readme but when starting "start()" at the shell prompt error is thrown. Any pointers?
start()
java.lang.NoClassDefFoundError: Could not initialize class de.frosner.dds.core.DDS$
at de.frosner.dds.webui.server.SprayServer$.start(SprayServer.scala:183)
at de.frosner.dds.webui.server.SprayServer$.start(SprayServer.scala:172)
... 52 elided
The text was updated successfully, but these errors were encountered: