Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HADOOP-13500. Synchronizing iteration of Configuration properties object #3775

Merged
merged 2 commits into from Dec 17, 2021

Commits on Dec 16, 2021

  1. HADOOP-13500. Synchronizing iteration of underlying properties object…

    … in Configuration class
    
    It is possible to encounter a ConcurrentModificationException while trying to iterate a Configuration object. The iterator method tries to walk the underlying Property object without proper synchronization, so another thread simultaneously calling the set method can trigger it. setProperty method on Property object is also synchronized on the same property object.
    dbadaya1 committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    5901f86 View commit details
    Browse the repository at this point in the history
  2. Fix checkstyle issues

    dbadaya1 committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    275ce35 View commit details
    Browse the repository at this point in the history