Introduction(说明)

HFTP is a Hadoop filesystem implementation that lets you read data from a remote Hadoop HDFS cluster. The reads are done via HTTP, and data is sourced from DataNodes. HFTP is a read-only filesystem, and will throw exceptions if you try to use it to write data or modify the filesystem state.

HFTP是使hadoop文件系统从远程hdfs集群读取数据的一种实现,读取时通过http协议完成的,并且数据源来自于datanodes。HFTP时一种只读文件系统,并且会抛出异常如果你尝试通过他去写数据或者修改文件系统状态。

HFTP is primarily useful if you have multiple HDFS clusters with different versions and you need to move data from one to another. HFTP is wire-compatible even between different versions of HDFS. For example, you can do things like: hadoop distcp -i hftp://sourceFS:50070/src hdfs://destFS:8020/dest. Note that HFTP is read-only so the destination must be an HDFS filesystem. (Also, in this example, the distcp should be run using the configuraton of the new filesystem.)

HFTP主要被用在如果你有多个不同版本的HDFS集群,并且你需要从一个集群移动数据到另一个集群时。HFTP时wire-compatible甚至在两个不同的HDFS版本之间。例如,你可以像这样做一些事:hadoop distcp -i hftp://sourceFS:50070/src hdfs://destFS:8020/dest.注意HFTP是只读的并且目标端必须是一个HDFS文件系统。(因此,在这个例子中,dictcp应该被运行在使用了新文件系统配置的集权中。)

An extension, HSFTP, uses HTTPS by default. This means that data will be encrypted in transit.

一个扩展,FSFTP,使用https协议,这意味着数据在传输过程中被加密的。

Implementation(实现)

The code for HFTP lives in the Java class org.apache.hadoop.hdfs.HftpFileSystem. Likewise, HSFTP is implemented in org.apache.hadoop.hdfs.HsftpFileSystem.

HFTP的代码编写在java类org.apache.hadoop.hdfs.HftpFileSystem.HSFTP的实现类是org.apache.hadoop.hdfs.HsftpFileSystem.

Configuration Options

Name

Description

dfs.hftp.https.port

the HTTPS port on the remote cluster. If not set, HFTP will fall back on dfs.https.port.

hdfs.service.host_ip:port

Specifies the service name (for the security subsystem) associated with the HFTP filesystem running at ip:port.

最新文章

  1. 如何解决wow.js与fullpage的兼容性
  2. 迭代器学习之一:使用IEnumerable和IEnumerator接口
  3. 自增长主键Id的另类设计
  4. Win10专业版激活方法可查版本
  5. GO语言练习:网络编程 ICMP 示例
  6. D3 & Data Visualization in Ext JS
  7. spring容器启动过程
  8. GrepCode
  9. CSS彻底研究(1)
  10. android TextView 垂直滚动 用动画实现
  11. javascript 中 offsetWidth,clientWidth;offsetHeight,clientHeight的区别
  12. react按需加载(getComponent优美写法),并指定输出模块名称解决缓存(getComponent与chunkFilename)
  13. Linux IO 模型
  14. latex 一些使用
  15. Yahoo Programming Contest 2019.F.Pass(DP)
  16. legend2---开发日志10(ajax请求的方法是否同样会执行base控制器里面的方法)
  17. H5-移动端实现滑屏翻页-原生js/jquery
  18. [CocoaPods]使用Trunk进行设置
  19. 高可用Hadoop平台-Ganglia安装部署
  20. 如何下载离线Adobe软件教程

热门文章

  1. json_encode让URL内容斜杠/不转义
  2. wee hours
  3. hwi-web安装
  4. List 集合的N层遍历
  5. iOS 触摸事件与手势识别器(Gesture Recognizers)
  6. css 去除页面双击事件
  7. Linux命令 free:查看内存使用情况
  8. ios-toolchain-based-on-clang-for-linux
  9. libevent安装方法
  10. RedHat 简易配置 VNC Server 与VNC View详细说明