juliuszsompolski opened a new pull request, #40676:
URL: https://github.com/apache/spark/pull/40676

   ### What changes were proposed in this pull request?
   
   By default, scripts in `connector/connect/bin` rebuild the necessary JARs 
using SBT. Even when this build is incremental and there were no changes, the 
sbt rebuild takes about 4 minutes. Another issue is that launching the 
`connector/connect/bin/spark-connect` and 
`connector/connect/bin/spark-connect-scala-client` scripts in parallel causes 
the two sbt builds to clash. So developer has to wait for one to finish before 
launching the other.
   
   By supplying an env var option `BUILD=0` the build step can be skipped. At 
the same time, add a new script `connector/connect/bin/spark-connect-build` to 
rebuild both the server and client part.
   
   ### Why are the changes needed?
   
   Improving inner dev loop.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Manual build, using the scripts.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to