[ 
https://issues.apache.org/jira/browse/QUARKS-224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dale LaBossiere updated QUARKS-224:
-----------------------------------
    Attachment: screenshot-1.png

> topology.generate() continues running after job is closed (until JVM exits)
> ---------------------------------------------------------------------------
>
>                 Key: QUARKS-224
>                 URL: https://issues.apache.org/jira/browse/QUARKS-224
>             Project: Quarks
>          Issue Type: Bug
>          Components: Runtime
>            Reporter: Dale LaBossiere
>         Attachments: screenshot-1.png
>
>
> I noticed this in a test environment but expect it happens in a normal 
> environment as well.  I'll attach a simple test that demonstrates the problem.
> The test's Supplier.get() is: "sleep(1sec); print and return next value"
> It runs the job for 5sec then closes it and sleeps for another 10sec before
> exiting.
> Here's its output:
> generated 1
> generated 2
> generated 3
> generated 4
> generated 5
> generated 6
> Job current state: CLOSED
> sleeping... it's a bug if still generating tuples
> generated 7
> generated 8
> generated 9
> generated 10
> generated 11
> generated 12
> generated 13
> generated 14
> generated 15
> done



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to