gengliangwang commented on code in PR #39096:
URL: https://github.com/apache/spark/pull/39096#discussion_r1051192373
##########
core/src/test/scala/org/apache/spark/status/protobuf/KVStoreProtobufSerializerSuite.scala:
##########
@@ -176,4 +177,83 @@ class KVStoreProtobufSerializerSuite extends SparkFunSuite
{
assert(result.stageId == input.stageId)
assert(result.stageAttemptId == input.stageAttemptId)
}
+
+ test("Application Environment Info") {
+ val input = new ApplicationEnvironmentInfoWrapper(
+ new ApplicationEnvironmentInfo(
+ runtime = new RuntimeInfo(
+ javaVersion = "1.8",
+ javaHome = "/tmp/java",
+ scalaVersion = "2.13"),
+ sparkProperties = Seq(("1", "2")),
+ hadoopProperties = Seq(("1", "2")),
Review Comment:
I would suggest setting different values for these fields in case of
mistakes on the fields of serializer and deserializer
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]