gengliangwang commented on code in PR #45808:
URL: https://github.com/apache/spark/pull/45808#discussion_r1547129698


##########
common/utils/src/main/scala/org/apache/spark/internal/LogKey.scala:
##########
@@ -21,5 +21,9 @@ package org.apache.spark.internal
  * All structured logging keys should be defined here for standardization.
  */
 object LogKey extends Enumeration {
-  val EXECUTOR_ID, MIN_SIZE, MAX_SIZE = Value
+  val APPLICATION_ID, APPLICATION_STATE, BUCKET, CONTAINER_ID, EXECUTOR_ID, 
POD_ID = Value

Review Comment:
   Each enum can take one line. 
   val APPLICATION_ID = Value
   val APPLICATION_STATE = Value



##########
common/utils/src/main/scala/org/apache/spark/internal/LogKey.scala:
##########
@@ -21,5 +21,9 @@ package org.apache.spark.internal
  * All structured logging keys should be defined here for standardization.
  */
 object LogKey extends Enumeration {
-  val EXECUTOR_ID, MIN_SIZE, MAX_SIZE = Value
+  val APPLICATION_ID, APPLICATION_STATE, BUCKET, CONTAINER_ID, EXECUTOR_ID, 
POD_ID = Value
+  val MIN_SIZE, MAX_SIZE, MAX_EXECUTOR_FAILURES = Value
+  val EXIT_CODE = Value
+
+  type LogKey = Value

Review Comment:
   why do we need this?



-- 
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]

Reply via email to