[
https://issues.apache.org/jira/browse/NIFI-4073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16061109#comment-16061109
]
ASF subversion and git services commented on NIFI-4073:
-------------------------------------------------------
Commit 47165afc0cc9c6a0fe55e61cdefb86c48b52e716 in nifi's branch
refs/heads/master from [~pvillard]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=47165af ]
NIFI-4073 - fix duplicated stack trace
This closes #1916.
Signed-off-by: Andy LoPresto <[email protected]>
> Duplicated stack trace in ThreadPoolRequestReplicator
> -----------------------------------------------------
>
> Key: NIFI-4073
> URL: https://issues.apache.org/jira/browse/NIFI-4073
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.3.0
> Reporter: Pierre Villard
> Assignee: Pierre Villard
> Priority: Trivial
>
> There is a duplicated stack trace due to the following part.
> {code:title=ThreadPoolRequestReplicator.java|borderStyle=solid}
> try {
> // create and send the request
> final WebResource.Builder resourceBuilder = createResourceBuilder();
> final String requestId = headers.get("x-nifi-request-id");
> logger.debug("Replicating request {} {} to {}", method, uri.getPath(),
> nodeId);
> nodeResponse = replicateRequest(resourceBuilder, nodeId, method, uri,
> requestId, headers, clusterResponse);
> } catch (final Exception e) {
> nodeResponse = new NodeResponse(nodeId, method, uri, e);
> logger.warn("Failed to replicate request {} {} to {} due to {}", method,
> uri.getPath(), nodeId, e);
> logger.warn("", e);
> }
> {code}
> It just requires to use {{e.toString()}}.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)