You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Radim Kučera (JIRA)" <ji...@apache.org> on 2018/12/06 08:13:00 UTC

[jira] [Commented] (NIFI-5807) ListFTP uncaught exception

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

Radim Kučera commented on NIFI-5807:
------------------------------------

Hi! Well I'd already tried almost everything, stracing the nifi app to see if the property file is read included (so I know that readed it is :). I tried single and double quotes and stuff... but escaping the whitespace somehow didn't come into my mind :D Will test that right away. Thanks for your effort anyway!

btw what is a proper way to push this into the NiFi docs? I think that this systemType.property magic should be written all over the Advanced section.

> ListFTP uncaught exception
> --------------------------
>
>                 Key: NIFI-5807
>                 URL: https://issues.apache.org/jira/browse/NIFI-5807
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.7.1
>         Environment: Centos7, OpenJDK Runtime Environment (build 1.8.0_181-b13)
>            Reporter: Radim Kučera
>            Priority: Critical
>              Labels: easyfix
>
> Using ListFTP / FetchFTP processors to interact with a slightly bizzare FTP, which identifies itself as a "Dopra version: 1.6" but otherwise acts as a pretty standard FTP causes following exception.
> By all means this should be at least user-overwritable exception, in a terms of "I really don't care what system that is until it works as expected," which is exactly this case.
>  As you may expect, it is a vendor stripped down *nix OS Made in China. But then again, interacting with it by CLI utilities is fully functional. Is there anything that can be fixed in this matter?
>  
> {noformat}
> 2018-11-09 12:38:04,111 INFO [NiFi Web Server-97213] o.a.n.c.s.StandardProcessScheduler Starting ListFTP[id=1c1418b7-342c-1e52-6f52-a9a083e8fff7]
> 2018-11-09 12:38:04,113 INFO [Timer-Driven Process Thread-8] o.a.n.c.s.TimerDrivenSchedulingAgent Scheduled ListFTP[id=1c1418b7-342c-1e52-6f52-a9a083e8fff7] to run with 1 threads
> 2018-11-09 12:38:04,169 ERROR [Timer-Driven Process Thread-1] o.a.nifi.processors.standard.ListFTP ListFTP[id=1c1418b7-342c-1e52-6f52-a9a083e8fff7] ListFTP[id=1c1418b7-342c-1e52-6f52-a9a083e8fff7] failed to process session due to org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type: Dopra version: 1.6; Processor Administratively Yielded for 1 sec: org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type: Dopra version: 1.6
> org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type: Dopra version: 1.6
>     at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:170)
>     at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:94)
>     at org.apache.commons.net.ftp.FTPClient.__createParser(FTPClient.java:3381)
>     at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:3338)
>     at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:3016)
>     at org.apache.nifi.processors.standard.util.FTPTransfer.getListing(FTPTransfer.java:235)
>     at org.apache.nifi.processors.standard.util.FTPTransfer.getListing(FTPTransfer.java:191)
>     at org.apache.nifi.processors.standard.ListFileTransfer.performListing(ListFileTransfer.java:106)
>     at org.apache.nifi.processor.util.list.AbstractListProcessor.onTrigger(AbstractListProcessor.java:405)
>     at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)
>     at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1165)
>     at org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:203)
>     at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:117)
>     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
>     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
>     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>     at java.lang.Thread.run(Thread.java:748)
> 2018-11-09 12:38:04,169 WARN [Timer-Driven Process Thread-1] o.a.n.controller.tasks.ConnectableTask Administratively Yielding ListFTP[id=1c1418b7-342c-1e52-6f52-a9a083e8fff7] due to uncaught Exception: org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type: Dopra version: 1.6
> org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type: Dopra version: 1.6
>     at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:170)
>     at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:94)
>     at org.apache.commons.net.ftp.FTPClient.__createParser(FTPClient.java:3381)
>     at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:3338)
>     at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:3016)
>     at org.apache.nifi.processors.standard.util.FTPTransfer.getListing(FTPTransfer.java:235)
>     at org.apache.nifi.processors.standard.util.FTPTransfer.getListing(FTPTransfer.java:191)
>     at org.apache.nifi.processors.standard.ListFileTransfer.performListing(ListFileTransfer.java:106)
>     at org.apache.nifi.processor.util.list.AbstractListProcessor.onTrigger(AbstractListProcessor.java:405)
>     at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)
>     at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1165)
>     at org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:203)
>     at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:117)
>     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
>     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
>     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>     at java.lang.Thread.run(Thread.java:748){noformat}



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