pprzetacznik opened a new pull request #30337:
URL: https://github.com/apache/spark/pull/30337


   When using:
   ```
   ./bin/spark-submit \
     --class org.apache.spark.examples.SparkPi \
     --master k8s://xx.yy.zz.ww:443 \
     --deploy-mode cluster \
     --executor-memory 20G \
     --num-executors 50 \
     https://user:password@path/to/examples.jar \
     1000
   ```
   I receive an error described in 
https://issues.apache.org/jira/browse/SPARK-33425
   
   ### What changes were proposed in this pull request?
   Passing credentials to the request properties so there's no need for a 
server to challenge the URLConnection for credentials. 
   
   
   ### Why are the changes needed?
   Documentations says:
   > (Note that credentials for password-protected repositories can be supplied 
in some cases in the repository URI, such as in https://user:password@host/.... 
Be careful when supplying credentials this way.)
   However, that feature doesn't work.
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   Not tested yet. Looking for feedback.


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



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

Reply via email to