-
- Downloads
Merge pull request #551 from qqsun8819/json-protocol.
[SPARK-1038] Add more fields in JsonProtocol and add tests that verify the JSON itself This is a PR for SPARK-1038. Two major changes: 1 add some fields to JsonProtocol which is new and important to standalone-related data structures 2 Use Diff in liftweb.json to verity the stringified Json output for detecting someone mod type T to Option[T] Author: qqsun8819 <jin.oyj@alibaba-inc.com> Closes #551 and squashes the following commits: fdf0b4e [qqsun8819] [SPARK-1038] 1. Change code style for more readable according to rxin review 2. change submitdate hard-coded string to a date object toString for more complexiblity 095a26f [qqsun8819] [SPARK-1038] mod according to review of pwendel, use hard-coded json string for json data validation. Each test use its own json string 0524e41 [qqsun8819] Merge remote-tracking branch 'upstream/master' into json-protocol d203d5c [qqsun8819] [SPARK-1038] Add more fields in JsonProtocol and add tests that verify the JSON itself
Showing
- core/src/main/scala/org/apache/spark/deploy/JsonProtocol.scala 17 additions, 3 deletions...src/main/scala/org/apache/spark/deploy/JsonProtocol.scala
- core/src/test/scala/org/apache/spark/deploy/JsonProtocolSuite.scala 92 additions, 5 deletions...est/scala/org/apache/spark/deploy/JsonProtocolSuite.scala
Please register or sign in to comment