You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streams.apache.org by steveblackmon <gi...@git.apache.org> on 2015/03/23 19:08:17 UTC

[GitHub] incubator-streams pull request: Streams 296

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) <sb...@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) <sb...@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.
---

[GitHub] incubator-streams pull request: Streams 296

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---
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.
---

[GitHub] incubator-streams pull request: Streams 296

Posted by steveblackmon <gi...@git.apache.org>.
Github user steveblackmon commented on the pull request:

    https://github.com/apache/incubator-streams/pull/197#issuecomment-86052315
  
    I will lazy consensus merge this in 48 hours.


---
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.
---