-
Notifications
You must be signed in to change notification settings - Fork 9
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
#131 Backport of jackson serialization support (RunStatus enum) #132
#131 Backport of jackson serialization support (RunStatus enum) #132
Conversation
…field of RunState enum) (CP'd from PR #84) - unit test cases for this has been added
… is incompatible)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- code reviewed
- pulled
- built
- run
@@ -154,6 +155,16 @@ | |||
<artifactId>spark-core_${scala.binary.version}</artifactId> | |||
<version>${spark.version}</version> | |||
<scope>provided</scope> | |||
<exclusions> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These exclusions are missing from sbt
. Is that OK?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for noticing. I have added the same excludes to sbt version as well.
case class RunStatus | ||
( | ||
@JsonScalaEnumeration(classOf[RunStateType]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a note: The whole class feels little utilitarian for Enceladus' purposes. But no point of removing it now..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No such class in the next major version 👍
Backport of Jackson serialization support (
RunStatus
enum) (cherry-picked from PR #84)As for the potential backwards compatibility issue: RunStatus serialization with Jackson was actually never used, Json4s serialization was always used instead. (
SerializationUtils.asJson
)Closes #131