Well, one way to do it would be to connect yourself in SSH to the datanodes.
For exemple, using putty or winscp.
@mathieu.d Here I am creating files in /tmp folder on datanodes right.
Can I do hdfs dfs -put /tmp/$USER/...success.log /user/$USER/logs/...success.log
Will this work ?
@mathieu.d @mbigelow Thank you both of you I was able to achieve the desired result.
First stored the logs in local and then uploaded them to HDFS
how did you stored logs in local? can you please provide me the way you did it.
Share Your Thoughts