GitHub user tdas opened a pull request:

    https://github.com/apache/spark/pull/14292

    [SPARK-14131][SQL[STREAMING] Improved fix for avoiding potential deadlocks 
in HDFSMetadataLog

    ## What changes were proposed in this pull request?
    Current fix for deadlock disables interrupts in the StreamExecution which 
getting offsets for all sources, and when writing to any metadata log, to avoid 
potential deadlocks in HDFSMetadataLog(see JIRA for more details). However, 
disabling interrupts can have unintended consequences in other sources. So I am 
making the fix more narrow, by disabling interrupt it only in the 
HDFSMetadataLog. This is a narrower fix for something risky like disabling 
interrupt.
    
    ## How was this patch tested?
    Existing tests.

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

    $ git pull https://github.com/tdas/spark SPARK-14131

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

    https://github.com/apache/spark/pull/14292.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 #14292
    
----
commit d64e0c15bbda3c32bff4947b04f386dea9e73515
Author: Tathagata Das <[email protected]>
Date:   2016-07-21T00:33:57Z

    Improved deadlock fix

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to