Member since
06-28-2016
9
Posts
0
Kudos Received
0
Solutions
09-11-2017
03:47 AM
@Wynner. I mean that network shared drive access in GetFTP not worked.For FTP server port is 21 that is configured GetFTP processor.But network shared drive ports are 139,445.In your answer you have specified 21 port in GetFTP. That's why i said FTP processor not work for multiple ports used by UNC Path.
... View more
09-08-2017
03:57 AM
@Wynner, I am not mean that accessing data from FTP Server. i mean that to get file from UNC Path(//servername/folder) and move that into FTP Server. i don't know in this case how getFTP works?
... View more
09-07-2017
05:06 AM
@Wynner I haved added error faced while using getFTP for access sharedDrive
... View more
09-07-2017
04:42 AM
21 is FTP port.It couldn't work for network shared drive ports(139,445)
... View more
09-05-2017
01:37 PM
I have NiFi instance 1.3.0 running on my local Windows. I want to copy a file from a one network drive to FTP. I think getFile processor reads files inside share directory //server/shared/path/to/file. Normally my shared drive prompts for credentials before access folder. I tried getFile processor for access shared drive without credentials it worked. But it not worked if credentials asked for network drive. Can anyone suggest way to access network drive folder with credentials and move it into FTP using NiFi processors? @wayne I tried with GetFTP but it shows below error ERROR [Timer-Driven Process Thread-9] o.apache.nifi.processors.standard.GetFTP GetFTP[id=5080b2bd-015e-1000-1f94-1e8811e88742] Unable to fetch listing from remote server due to java.net.ConnectException: Connection timed out: connect: {}
java.net.ConnectException: Connection timed out: connect
at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at org.apache.commons.net.SocketClient.connect(SocketClient.java:182)
at org.apache.nifi.processors.standard.util.FTPTransfer.getClient(FTPTransfer.java:532)
at org.apache.nifi.processors.standard.util.FTPTransfer.getListing(FTPTransfer.java:191)
at org.apache.nifi.processors.standard.util.FTPTransfer.getListing(FTPTransfer.java:155)
at org.apache.nifi.processors.standard.GetFileTransfer.fetchListing(GetFileTransfer.java:284)
at org.apache.nifi.processors.standard.GetFileTransfer.onTrigger(GetFileTransfer.java:127)
at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)
at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1120)
at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:147)
at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:47)
at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:132)
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:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
... View more
Labels:
- Labels:
-
Apache NiFi
09-05-2017
01:37 PM
@Shishir Saxena, Yes GetFile processor also worked for shared drive. i have doubt on how to pass the credentials for access network drive? For example: my shared drive wants prompt for credentials for access folder inside it. If my shared folder have permission for everyone then i can able to access it. But if shared drive prompts for Credentials then ListFile seems doesn't work. So can you suggest the way to access shared drive with username and password in nifi processors?
... View more
03-09-2017
08:59 AM
you just copy the query generated in any one of the output flowfile of the ReplaceText processor and execute that in Oracle DB.If it is executed successfully in DB here also will execute.
... View more
09-15-2016
04:47 AM
Hi,
Permission denied belongs to you have run the hive server in normal command Prompt.
If you run hiveserver and metastore in Administrator Mode CMD Prompt,then this issue will be resolved.
Thanks,
... View more