timothy65535 edited a comment on pull request #1023:
URL: https://github.com/apache/incubator-kyuubi/pull/1023#issuecomment-914081369


   > We can combine the history logging and the live data logging with the 
listener bus but we can still use the event logging service
   
   Had tried serveal times, but failed.
   
   For `EventLoggerType.JSON` logger, it requires all fields are set.
   But for `EventLoggerType.SPARK` logger, it don't needs all fields.
   
   ### spark origin event log
   ```
   {"Event":"SparkListenerJobEnd","Job ID":2,"Completion 
Time":1630997161352,"Job Result":{"Result":"JobSucceeded"}}
   
{"Event":"org.apache.spark.sql.execution.ui.SparkListenerSQLExecutionEnd","executionId":3,"time":1630997161355}
   
{"Event":"org.apache.spark.sql.hive.thriftserver.ui.SparkListenerThriftServerOperationFinish","id":"8f2c5e68-c9fe-4777-bffe-75d171fa18cb","finishTime":1630997161355}
   
{"Event":"org.apache.spark.sql.hive.thriftserver.ui.SparkListenerThriftServerOperationClosed","id":"8f2c5e68-c9fe-4777-bffe-75d171fa18cb","closeTime":1630997161374}
   
{"Event":"org.apache.spark.sql.hive.thriftserver.ui.SparkListenerThriftServerSessionClosed","sessionId":"7e3f25d8-5688-4170-8532-5ddee4112991","finishTime":1630997192176}
   {"Event":"SparkListenerApplicationEnd","Timestamp":1630997194335}
   ```


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


Reply via email to