WebHDFS vs HttpFS

时光毁灭记忆、已成空白 提交于 2019-12-31 10:33:12

问题


What is the difference between the WebHDFS REST API and HttpFS?

If I understand correctly:

  • HttpFS is an independent service that exposes a REST API on top of HDFS
  • WebHDFS is a REST API built-into HDFS. It doen't require any further installation

Am I correct?

When would be advisable to use one instead of the other?


回答1:


I have read a article related with your question. following is the link.

https://www.linkedin.com/today/post/article/20140717115238-176301000-accessing-hdfs-using-the-webhdfs-rest-api-vs-httpfs

WebHDFS vs HttpFs Major difference between WebHDFS and HttpFs: WebHDFS needs access to all nodes of the cluster and when some data is read it is transmitted from that node directly, whereas in HttpFs, a singe node will act similar to a "gateway" and will be a single point of data transfer to the client node. So, HttpFs could be choked during a large file transfer but the good thing is that we are minimizing the footprint required to access HDFS.



来源:https://stackoverflow.com/questions/25033729/webhdfs-vs-httpfs

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!