I try this command
curl -L http://cosmos.lab.fiware.org:14000/webhdfs/v1/user/souleime/file1 &user.name=souleime" -H "X-Auth-Token: *****************" -O
and I get curl(52) Empty reply from server. My file exists on the HDFS.
I try this command
curl -L http://cosmos.lab.fiware.org:14000/webhdfs/v1/user/souleime/file1 &user.name=souleime" -H "X-Auth-Token: *****************" -O
and I get curl(52) Empty reply from server. My file exists on the HDFS.
I managed to read my file curl -i -L "http://cosmos.lab.fiware.org:14000/webhdfs/v1/user/souleime/file1?op=open&user.name=souleime" -H "X-Auth-Token: ****************"
?op=open was my problem