Member since
05-10-2017
35
Posts
1
Kudos Received
0
Solutions
05-18-2017
04:40 PM
@Wynner I have already tried by clearing the state of processor and it did'nt work.
... View more
05-18-2017
09:35 AM
@Wynner, I have successfully moved the file to HDFS using ListFile and Fetch as per your suggestions. But still there is one problem, although List file and Fetch file are moving my file from source to HDFS but List File throws an error and below is the error detail: WARN [Timer-Driven Process Thread-7] o.a.nifi.processors.standard.ListFile ListFile[id=1ae3923c-015c-1000-15e4-e29f5b75a0e0] Error collecting attributes for file /root/InputData/, message is Mount point not found
Other than this error, I need to ask one more thing; Is there any way to clear the listing of Listfile so that I can process the same file in future ?
... View more
05-18-2017
04:55 AM
@Matt I tried using absolute path and it moved the file from one folder to another. But its also throwing an error even after moving the file. Below is the error I am facing: 2017-05-18 06:59:44,881 ERROR [Timer-Driven Process Thread-3] o.a.n.p.standard.ExecuteStreamCommand ExecuteStreamCommand[id=16239777-015c-1000-9a6d-2c5a189e47f1] Transferring flow file StandardFlowFileRecord[uuid=8eea8245-84a1-49f0-bc93-52be302ac069,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1495090525757-30, container=default, section=30], offset=619504, length=0],offset=0,name=Employee.csv,size=0] to output stream. Executable command /root/MoveFile.bash ended in an error: mv: cannot stat `/root/InputData/*': No such file or directory
... View more
05-17-2017
12:10 PM
Hi, I am trying to move a file from local folder to another local folder using ExecuteStreamCommand after the success of previous processors. I have added a file path of a bash script file. When ExecuteStreamCommand executes the script it throws error of "File or Directory does't exist". Below is the command that I have written up in the bash script to move the file from one folder to antoher: mv nifi-srcfiles/* BackupFiles/ source folder , target folder and bash script both lies in same directory. When I run this command directly on command line, it successfully moves the file from one folder to another.
... View more
Labels:
- Labels:
-
Apache NiFi
05-17-2017
06:31 AM
@Wynner I have added ListFile and FetchFile processors in my flow but they are not fetching the file. Below are the configuration for both of the files: ListFile: FetchFile:
There is no errors or warnings in Nifi Log.
... View more
05-16-2017
12:29 PM
@Wynner I replaced the GetFile with FetchFile but its giving me a warning. Below is the warning: Upstream connection is invalid because processor requires an upstream connection but currently it has no upstream connection. Below is my data flow:
... View more
05-16-2017
10:43 AM
Hi, I am reading a file using GetFile. If I set KeepSourceFile attribute to true then it keep on reading the file so I reset it to false. After resetting it to false, it removes the file from source after reading it. Is there any way to move the file to some other location once it has been read by GetFile?
... View more
Labels:
- Labels:
-
Apache NiFi
05-13-2017
09:34 AM
Hi @Matt Clarke, I am able to access the NIFI UI now. Actually the problem was with the IP address. When I check the Inet address in VM console it showed me 192.168.5.128 and I connected to the VM from Putty using this Ip address. In Putty, when I checked the Inet address it showed me 172.17.0.2 and NIFI log file was also saying that you can access the NIFI UI at 172.17.0.2:port/nifi. But it was not loading using 172.17.0.2 then I tried opening NIFI UI at 192.168.5.128 and it worked. Why it is so? In my opinion, NIFI UI should open at 172.17.0.2:port/nifi instead of 192.168.5.128:port/nifi ??
... View more
05-12-2017
06:49 PM
@Matt Clarke Yeah.. Nifi is running. netstat -ant|grep LISTEN command showed me following result for my port: tcp 0 0 0.0.0.0:8078 0.0.0.0:* LISTEN I have changed the port from 8079 to 8078 but still the same issue. I am using Hortanworks Sandbox (HDP 2.6) on my Laptop Windows is OS on my Laptop. I installed the NIFI at below path:
... View more
05-12-2017
06:12 PM
1) in browser it says, this site cant be reached 2) Latest Version 3) Chrome - 58.0.3029.110 4) nifi-user.log file is empty 5) Telnet command says, connection refused
... View more
- « Previous
-
- 1
- 2
- Next »