Netflix / suro

Netflix's distributed Data Pipeline
Apache License 2.0
794 stars 170 forks source link

schedule sink map update in Rx io scheduler, because KafkaProducer.close... #233

Closed stevenzwu closed 9 years ago

stevenzwu commented 9 years ago

... can potentially block. see

https://issues.apache.org/jira/browse/KAFKA-1660 https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=53739782

However, this is still not perfect. if close blocks on waiting sender thread, it haven't close the metrics yet. we can potentially have bad metrics.

this is the thread dump, where poller thread for persisted props got locked up //////////////////////////////////// "pollingConfigurationSource" daemon prio=10 tid=0x0000000003547800 nid=0xfe0 in Object.wait() [0x00007f335f6c8000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method)

cloudbees-pull-request-builder commented 9 years ago

suro-pull-requests #217 FAILURE Looks like there's a problem with this pull request

cloudbees-pull-request-builder commented 9 years ago

NetflixOSS » suro » suro-pull-requests #49 ABORTED

cloudbees-pull-request-builder commented 9 years ago

NetflixOSS » suro » suro-pull-requests #50 FAILURE Looks like there's a problem with this pull request

cloudbees-pull-request-builder commented 9 years ago

suro-pull-requests #218 FAILURE Looks like there's a problem with this pull request