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

2017-02-15 Thread tillrohrmann
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 
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


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

2017-02-16 Thread tillrohrmann
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---