You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by David chen <c7...@163.com> on 2015/05/22 06:12:51 UTC

What is the difference between HttpFS and WebHDFS?

It looks like that both all support almost same HTTP REST API.  
The HttpFS is a HTTP gateway, i.e, all client requests must access directly it. But WebHDFS allows to directly access NameNode and DataNode, and a WebHDFS FileSystem URI has the format 'webhdfs://<HOST>:<HTTP_PORT>/<PATH>', what is the HOST and HTTP_PORT? 
BTW, if use HttpFS to act as proxy on WebHDFS, i know how to indicate the HOST and PORT, but if only use WebHDFS without HttpFS proxy, i don't know how to use.