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 2016/09/26 20:05:20 UTC

[jira] [Commented] (NIFI-2824) Errors encountered when saving from Advanced UI (UpdateAttribute, JoltTransformProcessor)

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

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

GitHub user mcgilman opened a pull request:

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

    Ensuring Custom UI requests are correctly replicated when clustered

    NIFI-2824:
    - Updating replication logic to account for the potential replication target and then invoking the corresponding action.

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

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

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

    https://github.com/apache/nifi/pull/1068.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 #1068
    
----
commit c13efe5b05096b1d7fea30eb6f2cffeb839c2555
Author: Matt Gilman <ma...@gmail.com>
Date:   2016-09-26T20:03:07Z

    NIFI-2824:
    - Updating replication logic to account for the potential replication target and then invoking the corresponding action.

----


> Errors encountered when saving from Advanced UI (UpdateAttribute, JoltTransformProcessor)
> -----------------------------------------------------------------------------------------
>
>                 Key: NIFI-2824
>                 URL: https://issues.apache.org/jira/browse/NIFI-2824
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Yolanda M. Davis
>             Fix For: 1.1.0
>
>
> When attempting to save configuration changes using the Advanced UI for UpdateAttributes or JoltTransformProcessor the following example exception stack trace was encountered in a secured clustered environment (e.g. Transaction already in progress):
> Received a status of 409 from ydavis-ldap-nifi-demo-1.openstacklocal:9091 for request PUT /nifi-api/processors/66ce1842-0157-1000-0000-00007e910d9e when performing first stage of two-stage commit. The action will not occur. Node explanation: Transaction d12cd676-5140-4f1a-95c3-5e44689f2b37 is already in progress.
> 2016-09-26 16:07:43,445 ERROR [NiFi Web Server-22] c.s.j.spi.container.ContainerResponse The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
> org.apache.nifi.cluster.manager.exception.IllegalClusterStateException: Node ydavis-ldap-nifi-demo-1.openstacklocal:9091 is unable to fulfill this request due to: Transaction d12cd676-5140-4f1a-95c3-5e44689f2b37 is already in progress.
>   at org.apache.nifi.cluster.coordination.http.replication.ThreadPoolRequestReplicator$2.onCompletion(ThreadPoolRequestReplicator.java:473) ~[na:na]
>   at org.apache.nifi.cluster.coordination.http.replication.ThreadPoolRequestReplicator$NodeHttpRequest.run(ThreadPoolRequestReplicator.java:729) ~[na:na]
>   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_77]
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_77]
>   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_77]
>   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_77]
>   at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77]
> 2016-09-26 16:07:43,454 WARN [NiFi Web Server-22] org.eclipse.jetty.servlet.ServletHandler /nifi-jolt-transform-json-ui-1.1.0-SNAPSHOT/api/standard/processor/properties
> org.apache.nifi.cluster.manager.exception.IllegalClusterStateException: Node ydavis-ldap-nifi-demo-1.openstacklocal:9091 is unable to fulfill this request due to: Transaction d12cd676-5140-4f1a-95c3-5e44689f2b37 is already in progress.
>   at org.apache.nifi.cluster.coordination.http.replication.ThreadPoolRequestReplicator$2.onCompletion(ThreadPoolRequestReplicator.java:473) ~[na:na]
>   at org.apache.nifi.cluster.coordination.http.replication.ThreadPoolRequestReplicator$NodeHttpRequest.run(ThreadPoolRequestReplicator.java:729) ~[na:na]
>   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_77]
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_77]
>   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_77]
>   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_77]
>   at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)