aboutsummaryrefslogtreecommitdiff
path: root/sql/core/src/test
diff options
context:
space:
mode:
authorJacek Lewandowski <lewandowski.jacek@gmail.com>2015-11-03 12:46:11 +0000
committerSean Owen <sowen@cloudera.com>2015-11-03 12:46:11 +0000
commit233e534ac43ea25ac1b0e6a985f6928d46c5d03a (patch)
tree00a190e67c75afbcbe2a1c578c176c91b762da0d /sql/core/src/test
parentb86f2cab67989f09ba1ba8604e52cd4b1e44e436 (diff)
downloadspark-233e534ac43ea25ac1b0e6a985f6928d46c5d03a.tar.gz
spark-233e534ac43ea25ac1b0e6a985f6928d46c5d03a.tar.bz2
spark-233e534ac43ea25ac1b0e6a985f6928d46c5d03a.zip
[SPARK-11344] Made ApplicationDescription and DriverDescription case classes
DriverDescription refactored to case class because it included no mutable fields. ApplicationDescription had one mutable field, which was appUiUrl. This field was set by the driver to point to the driver web UI. Master was modifying this field when the application was removed to redirect requests to history server. This was wrong because objects which are sent over the wire should be immutable. Now appUiUrl is immutable in ApplicationDescription and always points to the driver UI even if it is already shutdown. The UI url which master exposes to the user and modifies dynamically is now included into ApplicationInfo - a data object which describes the application state internally in master. That URL in ApplicationInfo is initialised with the value from ApplicationDescription. ApplicationDescription also included value user, which is now a part of case class fields. Author: Jacek Lewandowski <lewandowski.jacek@gmail.com> Closes #9299 from jacek-lewandowski/SPARK-11344.
Diffstat (limited to 'sql/core/src/test')
0 files changed, 0 insertions, 0 deletions