diff options
author | CodingCat <zhunansjtu@gmail.com> | 2016-11-01 23:39:53 -0700 |
---|---|---|
committer | Shixiong Zhu <shixiong@databricks.com> | 2016-11-01 23:39:53 -0700 |
commit | 85c5424d466f4a5765c825e0e2ab30da97611285 (patch) | |
tree | d11aca85b7e305865b7615721d4c582019d46786 /common | |
parent | a36653c5b7b2719f8bfddf4ddfc6e1b828ac9af1 (diff) | |
download | spark-85c5424d466f4a5765c825e0e2ab30da97611285.tar.gz spark-85c5424d466f4a5765c825e0e2ab30da97611285.tar.bz2 spark-85c5424d466f4a5765c825e0e2ab30da97611285.zip |
[SPARK-18144][SQL] logging StreamingQueryListener$QueryStartedEvent
## What changes were proposed in this pull request?
The PR fixes the bug that the QueryStartedEvent is not logged
the postToAll() in the original code is actually calling StreamingQueryListenerBus.postToAll() which has no listener at all....we shall post by sparkListenerBus.postToAll(s) and this.postToAll() to trigger local listeners as well as the listeners registered in LiveListenerBus
zsxwing
## How was this patch tested?
The following snapshot shows that QueryStartedEvent has been logged correctly
![image](https://cloud.githubusercontent.com/assets/678008/19821553/007a7d28-9d2d-11e6-9f13-49851559cdaa.png)
Author: CodingCat <zhunansjtu@gmail.com>
Closes #15675 from CodingCat/SPARK-18144.
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions