You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/24 20:32:41 UTC

[jira] [Commented] (NIFI-3421) Start up failure - java.nio.channels.OverlappingFileLockException: null

    [ https://issues.apache.org/jira/browse/NIFI-3421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15941086#comment-15941086 ] 

ASF GitHub Bot commented on NIFI-3421:
--------------------------------------

GitHub user mcgilman opened a pull request:

    https://github.com/apache/nifi/pull/1620

    NIFI-3421: Preventing successive attempts to create a FlowController

    NIFI-3421:
    - On contextDestroyed, referencing beans created during contextInitialized to prevent successive attempts to create a bean if that bean failed to be created initially.

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

    $ git pull https://github.com/mcgilman/nifi NIFI-3421

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

    https://github.com/apache/nifi/pull/1620.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 #1620
    
----
commit 2ac22e78381cf0dfda6c2d981857865214a4cc41
Author: Matt Gilman <ma...@gmail.com>
Date:   2017-03-24T20:30:48Z

    NIFI-3421:
    - On contextDestroyed, referencing beans created during contextInitialized to prevent successive attempts to create a bean if that bean failed to be created initially.

----


> Start up failure - java.nio.channels.OverlappingFileLockException: null
> -----------------------------------------------------------------------
>
>                 Key: NIFI-3421
>                 URL: https://issues.apache.org/jira/browse/NIFI-3421
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Matt Gilman
>            Assignee: Matt Gilman
>            Priority: Critical
>             Fix For: 1.2.0
>
>
> If NiFi fails to start up successfully, the act of attempting to shut down appears to result in a duplicate FlowController instantiation. A symptom of this is initializing the flow file repo twice which fails with an overlapping file lock exception.
> The actual reason that start up failed is logged further back in the app log.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)