[ https://issues.apache.org/jira/browse/SPARK-2633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14072579#comment-14072579 ]
Marcelo Vanzin commented on SPARK-2633: --------------------------------------- So, being able to register listeners is probably not that complicated, but things may get tricky when actually looking at the events. e.g., {{StageInfo}} objects exposed through {{SparkListenerStageSubmitted}}, they contain Scala APIs that may not be Java-friendly. I guess my question is: is the goal to have full API equivalence in Java-land? If so, it might be easier to clean up the types so that they're all Java-friendly. Otherwise, the Java listener API will always be a second-class citizen. > support register spark listener to listener bus with Java API > ------------------------------------------------------------- > > Key: SPARK-2633 > URL: https://issues.apache.org/jira/browse/SPARK-2633 > Project: Spark > Issue Type: New Feature > Components: Java API > Reporter: Chengxiang Li > > Currently user can only register spark listener with Scala API, we should add > this feature to Java API as well. -- This message was sent by Atlassian JIRA (v6.2#6252)