You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Jeff Storck (JIRA)" <ji...@apache.org> on 2019/02/15 18:45:00 UTC

[jira] [Updated] (NIFI-6023) ListHDFS throws misleading exception regarding Distributed Cache Service

     [ https://issues.apache.org/jira/browse/NIFI-6023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Storck updated NIFI-6023:
------------------------------
    Assignee: Jeff Storck
      Status: Patch Available  (was: Open)

> ListHDFS throws misleading exception regarding Distributed Cache Service
> ------------------------------------------------------------------------
>
>                 Key: NIFI-6023
>                 URL: https://issues.apache.org/jira/browse/NIFI-6023
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.8.0
>            Reporter: Jeff Storck
>            Assignee: Jeff Storck
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In the `ListHDFS.onTrigger` method, the processor attempts to retrieve the state for the processor which can throw an IOException.  The catch block for that code logs the exception with a message of `Failed to retrieve timestamp of last listing from Distributed Cache Service. Will not perform listing until this is accomplished`.  This is misleading, since the DistributedMapCacheClient is not used by ListHDFS.
> The error message should be updated to inform the user of the actual error, that the state manager could not be reached, or state could not be retrieved from the state manager.  It'd also help to include the exception (stack trace) itself in the log.
> The `Distributed Cache Service` property should be deprecated and its description should be updated, since the property will be ignored.  State is stored by the state manager locally, or in ZK if NiFi is clustered.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)