vanzin commented on issue #24962: [SPARK-28149][K8S] Added variable to disable 
negative DNS caching
URL: https://github.com/apache/spark/pull/24962#issuecomment-515183028
 
 
   Instead of trying to modify the java.security file, how about adding code in 
Spark to change the property programmatically?
   
   Seems like all you have to do is call:
   
       java.security.Security.setProperty("networkaddress.cache.negative.ttl" , 
"0");
   
   Just need to add code so that is done during driver and executor startup 
somehow. Shouldn't be hard.

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


With regards,
Apache Git Services

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

Reply via email to