Anybody knows how to upload a local file using PUT method using tRESTClient.
curl -i -X PUT -T <LOCAL_FILE> "http://<DATANODE>:<PORT>/webhdfs/v1/<PATH>?op=CREATE..."
(step 1 succeeds 307 - HTTP 307 Temporary Redirect , step 2 doesn't)
And which HEADERS to set.
What's your local file?
The tRESTClient component expects a document type. You need to send your input to the "string" input and not the "body" of the tRestClient.
Have you tried to upload a file using tFileFetch component?
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Learn how to make your data more available, reduce costs and cut your build time
Read about OTTO's experiences with Big Data and Personalized Experiences
Pick up some tips and tricks with Context Variables