You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Ulul <ha...@ulul.org> on 2015/02/15 01:51:44 UTC

WebHDFS and 100-continue

Hi

Something is unclear to me in webHDFS API doc :
It states that the worklow is 2-steps (return 307 to redirect to 
datanode, then client requests DN to upload data) as a workaround in 
100-continue bug in Java/Jetty.

My understanding would be that in any case the redirect from NN to DN 
would be kept and that we would have :
To NN: Expect: 100-continue
Response 307 DN
To DN : Expect: 100-continue
Response 100-continue

So the two steps would be kept

What do I miss there ?
Thanks for enlightment
Ulul

https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/WebHDFS.html#Create_and_Write_to_a_File