diff options
author | Shixiong Zhu <shixiong@databricks.com> | 2016-04-05 22:32:37 -0700 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2016-04-05 22:32:37 -0700 |
commit | 48467f4eb02209a884adbcf052670a057a75fcbd (patch) | |
tree | e64b8b6f4ef8565540c1e2600c945f34c580fb33 /sql/hive/compatibility/src/test | |
parent | adbfdb878dd1029738db3d1955d08b33de1aa8a9 (diff) | |
download | spark-48467f4eb02209a884adbcf052670a057a75fcbd.tar.gz spark-48467f4eb02209a884adbcf052670a057a75fcbd.tar.bz2 spark-48467f4eb02209a884adbcf052670a057a75fcbd.zip |
[SPARK-14416][CORE] Add thread-safe comments for CoarseGrainedSchedulerBackend's fields
## What changes were proposed in this pull request?
While I was reviewing #12078, I found most of CoarseGrainedSchedulerBackend's mutable fields doesn't have any comments about the thread-safe assumptions and it's hard for people to figure out which part of codes should be protected by the lock. This PR just added comments/annotations for them and also added strict access modifiers for some fields.
## How was this patch tested?
Existing unit tests.
Author: Shixiong Zhu <shixiong@databricks.com>
Closes #12188 from zsxwing/comments.
Diffstat (limited to 'sql/hive/compatibility/src/test')
0 files changed, 0 insertions, 0 deletions