Re: CopyFromLocal system using webHDFS

2020-04-17 Thread Pau Tallada
Hi, The EXACT command depends on you webhdfs endpoint, user credentials, file paths and lots of other info only you have. And yes, you can upload a local file to your HDFS using webhdfs (which is a rest api to HDFS). Just read the documentation, there are examples there. Cheers, Missatge de Ham

Re: CopyFromLocal system using webHDFS

2020-04-17 Thread Hamza Asad
Thank you for the response. This link is helpful but i need the exact command for copying file from local system to hdfs using webHDFS. Are we able to perform this action through webHDFS as what i understand as of now is that we can not copy file from local/remote system to Hdfs using webHDFS. plea

Re: CopyFromLocal system using webHDFS

2020-04-17 Thread Pau Tallada
Hi, You have to use HTTP requests to interact with an webhdfs endpoint. See: https://dzone.com/articles/hadoop-rest-api-webhdfs Missatge de Hamza Asad del dia dv., 17 d’abr. 2020 a les 23:18: > Dear member, > > I just want to know can we copy a file from local/remote server to HDFS > using web

CopyFromLocal system using webHDFS

2020-04-17 Thread Hamza Asad
Dear member, I just want to know can we copy a file from local/remote server to HDFS using webHDFS command? I know this might be not the right forum but im unable to find a proper solution and command. Can some one help in this matter? There is a hadoop fs command Hadoop -copyFromLocal < Destina