netanel246 commented on pull request #516:
URL: https://github.com/apache/incubator-sedona/pull/516#issuecomment-819586659


   @jiayuasu ,
   Did you encounter that exception using the Github Action? [Full error 
message](https://github.com/apache/incubator-sedona/pull/516/checks?check_run_id=2343806608#step:8:59)
   
   `2021-04-14 14:20:33,533 WARN  [main] util.Utils 
(Logging.scala:logWarning(66)) - Service 'sparkDriver' could not bind on a 
random free port. You may check whether configuring an appropriate binding 
address.
   2021-04-14 14:20:33,539 ERROR [main] spark.SparkContext 
(Logging.scala:logError(91)) - Error initializing SparkContext.
   java.net.BindException: Cannot assign requested address: Service 
'sparkDriver' failed after 16 retries (on a random free port)! Consider 
explicitly setting the appropriate binding address for the service 
'sparkDriver' (for example spark.driver.bindAddress for SparkDriver) to the 
correct binding address.`
   
   In my env, all the tests are passing. Only on the CI, I've got this 
exception which means that spark context cannot be created using this binding 
address.
   
   I saw 
[here](https://stackoverflow.com/questions/52133731/how-to-solve-cant-assign-requested-address-service-sparkdriver-failed-after)
 that to solve that we need to add this ENV: `SPARK_LOCAL_IP="127.0.0.1"`
   
   Any idea will be appreciated.
   Thanks.


-- 
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.

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


Reply via email to