You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by tillrohrmann <gi...@git.apache.org> on 2017/02/15 14:30:42 UTC

[GitHub] flink pull request #3324: [backport] [FLINK-5773] Use akka.actor.Status.Fail...

GitHub user tillrohrmann opened a pull request:

    https://github.com/apache/flink/pull/3324

    [backport] [FLINK-5773] Use akka.actor.Status.Failure class to send failures via AskSupport

    Backport of #3321 onto the `release-1.2` branch.
    
    Akka's AskSupport trait requires that failures are wrapped in a akka.actor.Status.Failure
    to be recognized. Internally the trait will unwrap the failure and wrap it in a
    scala.util.Failure instance. However, it does not recognize the scala Failure when given
    to the AskSupport trait. As a consequence it would wrap scala.util.Failure in a
    scala.util.Success instance.

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

    $ git pull https://github.com/tillrohrmann/flink FLINK-5773backport

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

    https://github.com/apache/flink/pull/3324.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 #3324
    
----
commit 322c5ada58f407939a375c42c6f4e134f3527cde
Author: Till Rohrmann <tr...@apache.org>
Date:   2017-02-15T13:16:26Z

    [FLINK-5773] Use akka.actor.Status.Failure class to send failures via AskSupport
    
    Akka's AskSupport trait requires that failures are wrapped in a akka.actor.Status.Failure
    to be recognized. Internally the trait will unwrap the failure and wrap it in a
    scala.util.Failure instance. However, it does not recognize the scala Failure when given
    to the AskSupport trait. As a consequence it would wrap scala.util.Failure in a
    scala.util.Success instance.

----


---
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] flink pull request #3324: [backport] [FLINK-5773] Use akka.actor.Status.Fail...

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

    https://github.com/apache/flink/pull/3324


---
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] flink issue #3324: [backport] [FLINK-5773] Use akka.actor.Status.Failure cla...

Posted by StephanEwen <gi...@git.apache.org>.
Github user StephanEwen commented on the issue:

    https://github.com/apache/flink/pull/3324
  
    +1


---
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] flink issue #3324: [backport] [FLINK-5773] Use akka.actor.Status.Failure cla...

Posted by tillrohrmann <gi...@git.apache.org>.
Github user tillrohrmann commented on the issue:

    https://github.com/apache/flink/pull/3324
  
    Thanks for your review @StephanEwen. Travis has passed. Merging this PR.


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