-
Notifications
You must be signed in to change notification settings - Fork 833
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: Cross-compile to Scala 2.12 #726
Conversation
💖 Thanks for opening your first pull request! 💖 We use semantic commit messages to streamline the release process. Before your pull request can be merged, you should make sure your first commit and PR title start with a semantic prefix. This helps us to create release messages and credit you for your hard work!
Make sure to check out the developer guide for guidance on testing your change. |
c265249
to
1e089e7
Compare
@drdarshan @mhamilton723 a lot of tests are failing because there seem to be missing datasets, possibly/probably caused by this
I assume this subscription requires permissions to log in and retrieve the datasets, correct? |
Hey @nightscape thanks so much for this great PR. Datasets can be downloaded from |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Codecov Report
@@ Coverage Diff @@
## master #726 +/- ##
==========================================
+ Coverage 82.35% 85.20% +2.84%
==========================================
Files 189 188 -1
Lines 8693 8643 -50
Branches 517 532 +15
==========================================
+ Hits 7159 7364 +205
+ Misses 1534 1279 -255
Continue to review full report at Codecov.
|
Hi @mhamilton723, I had a look at the errors in the build, but at first glance I don’t see how they could be caused by the Scala 2.12 switch. |
1e089e7
to
8c90700
Compare
@nightscape, appreciate you taking it this far. Just rebased on top of some latest test flakiness ixes so well see how it goes :) |
8c90700
to
64c0f04
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Commenter does not have sufficient privileges for PR 726 in repo Azure/mmlspark |
/azp run |
Pull request contains merge conflicts. |
For some reason, Github didn't pick up the changes I made to my branch. |
@imatiach-msft, the build seems stuck... |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
done! |
seems like a bunch of our dependencies don't have 2.12 versions yet? |
@imatiach-msft right. I assume this is a new dependency, afair I had this branch compiling locally before I rebased on master. |
Askes for a 2.12 build here: linkedin/isolation-forest#14 |
also adding @eisber for the isolation forest dependency |
I wonder if there is some way to make this an optional dependency for now for scala 2.12 build... |
@jverbus should be able to help with the dependency. he built the artifacts for spark 2.3.0 vs 2.4.3 |
96dea67
to
269912f
Compare
@imatiach-msft @eisber I updated to the newly released isolation-forest version for Scala 2.12 (thanks @jverbus !) and rebased on master. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@eisber unfortunately I still don't see the exact error in the Azure pipeline. |
@nightscape sorry for the long delay Info Provided - Suite ClassBalancerSuite took 4.357s [error] Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties |
Hmm, the only errors I see are the ones about OpenCV:
I honestly don't have any clue what to do with them. |
@mhamilton723 any inputs on the status , will there be 2.12 support for mmlspark soon? |
Any chance to push this forward? |
@nightscape a small fix to your branch would be to: |
Overall I think this needs to be pushed over the line by someone from the Azure team like @eisber, @imatiach-msft or @mhamilton723. |
@nightscape Thank you for your contribution! @eisber , @imatiach-msft , @mhamilton723 - We have been using this successfully at ZipRecruiter. |
Hi @imatiach-msft - greetings from Spark-land. I know a few of our customers love mmlspark and would love to use it on Spark 3. I see this and a related PR basically have that working. If I can help review, glad to - they'd love to get it released when you have a moment! |
@nightscape I try to use "sbt clean package" to build mmlspark from this branch and generate a jar file. But I can't use the python API for lightgbm. The error information is "ModuleNotFoundError: No module named 'mmlspark.lightgbm._LightGBMClassifier' ". I estimate my building command is not correct. So what is the correct command to build mmlspark with python API? |
@hanbing1587 unfortunately I don't know either... |
related to #912? |
Definitely. I have no idea why the other PR got closed though, or why this one doesn't receive any love... |
closing as we already support scala 2.12 |
Done:
To Do: