Github user zjffdu commented on the issue:
    That's should be fine to use HashMap for SparkR and PySpark, as their 
scheduler is FIFOScheduler which only one thread will access the map at one 
time. But it would be better to use `ConcurrentHashMap` in case we share 
sparkContext across all the interpreters.  

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to