Re: PutHDFS error

2018-04-13 Thread Sivaprasanna
Glad that you have solved it.. If possible can you share how you resolved it? It might help others who might face this issue in the future. - Sivaprasanna On Fri, 13 Apr 2018 at 7:05 PM, hemamoger wrote: > thanks for your suggestions. > I have got the answer. > > > > -- >

Re: PutHDFS error

2018-04-13 Thread hemamoger
thanks for your suggestions. I have got the answer. -- Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/

Re: PutHDFS error

2018-04-08 Thread Sivaprasanna
1. You have shared screenshot for "hdfs dfs -ls" which will basically list the contents under /user/root since you're executing that as a root but you have provided "/root" in PutHDFS so please share the list of contents available under /root i.e. hdfs dfs -ls /root 2. Have you tried Pierre's

Re: PutHDFS error

2018-04-08 Thread hemamoger
please check the attached images puthdfs_properties.png getsftp_confgrn.png hadoop_properties.hadoop_properties

Re: PutHDFS error

2018-04-06 Thread Sivaprasanna
Did you try the approach that Pierre suggested? That should work in all cases. Can you please share the screenshot of the processor’s configuration menu? Also please make sure whatever path value that you have set for the ‘Directory’ property is prefixed with a ‘/‘. Otherwise it will look for the

Re: PutHDFS error

2018-04-06 Thread Pierre Villard
Please share your processor configuration and list the content of the directory where you're pushing your csv files. 2018-04-06 9:03 GMT+02:00 hemamoger : > Yes i tried with replace and append that is throwing error that java is not > supported something like that. > But i

Re: PutHDFS error

2018-04-06 Thread hemamoger
Yes i tried with replace and append that is throwing error that java is not supported something like that. But i dont have that file in hadoop which i am pushing to hdfs. still its throwing that error . -- Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/

Re: PutHDFS error

2018-04-06 Thread Sivaprasanna
You can do what Pierre suggested. However, if you don’t want the already existing file or want to overwrite that with the new file, configure the PutHDFS processor and set ‘Conflict Resolution Strategy’ to “replace” or “append” based on your requirement. - Sivaprasanna On Fri, 6 Apr 2018 at

Re: PutHDFS error

2018-04-06 Thread Pierre Villard
Hi, This means that the name of the file you're pushing in HDFS already exists in the target directory. Usually people use an UpdateAttribute processor before the PuHDFS to update the attribute 'filename' with a timestamped suffix. Something like: filename => ${filname}-${now()} To be changed

PutHDFS error

2018-04-06 Thread hemamoger
Hi Team, I am getting error like in the above image. I am not sure wheather PUTHDFS configuration is proper or not. Can you pls help with the error. and also what are the confiration i need to setup for PUTHDFS