aboutsummaryrefslogtreecommitdiff
path: root/sql/core
diff options
context:
space:
mode:
authorerenavsarogullari <erenavsarogullari@gmail.com>2016-09-21 14:47:18 +0100
committerSean Owen <sowen@cloudera.com>2016-09-21 14:47:18 +0100
commitdd7561d33761d119ded09cfba072147292bf6964 (patch)
treeacc5dc274d558df3076be9be957065fb54e2dbb3 /sql/core
parent25a020be99b6a540e4001e59e40d5d1c8aa53812 (diff)
downloadspark-dd7561d33761d119ded09cfba072147292bf6964.tar.gz
spark-dd7561d33761d119ded09cfba072147292bf6964.tar.bz2
spark-dd7561d33761d119ded09cfba072147292bf6964.zip
[CORE][MINOR] Add minor code change to TaskState and Task
## What changes were proposed in this pull request? - TaskState and ExecutorState expose isFailed and isFinished functions. It can be useful to add test coverage for different states. Currently, Other enums do not expose any functions so this PR aims just these two enums. - `private` access modifier is added for Finished Task States Set - A minor doc change is added. ## How was this patch tested? New Unit tests are added and run locally. Author: erenavsarogullari <erenavsarogullari@gmail.com> Closes #15143 from erenavsarogullari/SPARK-17584.
Diffstat (limited to 'sql/core')
0 files changed, 0 insertions, 0 deletions