-
Notifications
You must be signed in to change notification settings - Fork 62
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
gradlew run issue #933
Comments
Hi Mohamed, Which version of Scala was your distribution of Spark compiled against? I ended up compiling Spark 3.0.0-SNAPSHOT against Scala 2.12 to get a working Morpheus install. This should also solve #932 for you. |
Actually I have the version of Spark2.4.2 which is compiled against Scala 2.12.8 with this spark-sql_2.12-2.4.2.jar but the same problem occurs !! which version of spark do you have ? |
Hi Mohamed, |
I'm trying to run the one of the examples inside morpheus on a spark cluster I have edited the creation of the morpheus session using the following lines of code:
just by editing the sparksession with the master URL
'spark://172.17.67.122:7077'
rather than'local'
I have a problem while running the gradlew run example
./gradlew morpheus-examples:runApp -PmainClass=org.opencypher.morpheus.examples.DataFrameInputExample
while debugging, The problem stated is with the
result.show
line:But while I change the example to be with
'local'
it runs correctly, and no problems ariseWhen I searched, It seems the problem is with the Scala version:
although I have the following on my cluster of 3 machines:
and I have put the required morpheus jars in the Spark class path (spark/jars) directory on all the cluster machines Master and Workers, such as:
Please help me figuring out the problem, because I take a lot of time trying to solve this issue!
Thanks in advance for your help and support!
The text was updated successfully, but these errors were encountered: