streams-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From steveblackmon <...@git.apache.org>
Subject [GitHub] incubator-streams pull request: Streams 296
Date Mon, 23 Mar 2015 18:08:17 GMT
GitHub user steveblackmon opened a pull request:

    https://github.com/apache/incubator-streams/pull/197

    Streams 296

    Quick fix to ensure documents are not discarded by ESPersistWriter before they are recieved
as WebHdfsPersistReader terminates.
    
    These changes ensure ElasticsearchHdfsIT in incubator-streams-examples/elasticsearch-hdfs
is able to pass.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/steveblackmon/incubator-streams STREAMS-296

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-streams/pull/197.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #197
    
----
commit ed242de6d9db45e914529851e8982e47a9cd80d8
Author: Steve Blackmon (@steveblackmon) <sblackmon@apache.org>
Date:   2015-03-20T21:32:53Z

    added mandatory pauses as providers and persist writers terminate to mitigate race condition
causing document loss

commit 75846d9a26d0f88ae3cac42e09e98ca0a4fbbaf5
Author: Steve Blackmon (@steveblackmon) <sblackmon@apache.org>
Date:   2015-03-23T18:03:36Z

    switch to use uninterruptibles for thread sleep, and add additional pausing to tasks experiencing
race conditions on interrupts.
    
    this is not the ideal fix to the root cause which I believe to be sloppy thread management
throughout streams-runtime-local, but it is sufficient to ensure the integration test proposed
for incubator-streams-examples/elasticsearch-hdfs passes.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message