0
点赞
收藏
分享

微信扫一扫

Hadoop集群参数详解

菜菜捞捞 2022-01-28 阅读 72


​Hadoop​​ 集群参数详解【updating…】

1. ​​hdfs​

  • ​fs.defaultFS​​参数


The name of the default file system. A URI whose scheme and authority determine the FileSystem implementation. The uri’s scheme determines the config property (fs.SCHEME.impl) naming the FileSystem implementation class. The uri’s authority is used to determine the host, port, etc. for a filesystem.


默认的文件系统。​​URI​​​的模式以及验证取决于 ​​FileSystem​​​ 实现。​​uri​​​的 模式决定了配置属性(​​fs.SCHEME.impl​​​),其被命名为​​FileSystem implementation class​​。uri的验证是用于为一个文件系统决定主机,端口。【翻译的真是生硬…】

​《Hadoop The Definitive Guide》​​中的部分介绍 如下:


fs.defaultFS, which is used to set a default filesystem for Hadoop. Filesystems are specified by a URI, and here we have used an hdfs URI to configure Hadoop to use HDFS by default. The HDFS daemons will use this property to determine the host and port for the HDFS namenode. … And HDFS clients will use this property to work out where the namenode is running so they can connect to it.


​fs.defaultFS​​​,用于为​​Hadoop​​​设置一个默认的文件系统。文件系统是由一个​​URI​​​ 指定,… ​​HDFS​​​ 守护进程将会使用这个配置去决定 ​​HDFS namenode​​​ 主机以及端口。… 并且HDFS 客户端将会使用这个属性去找出​​namenode​​ 在哪里,从而与其连接。

2. yarn

yarn.resourcemanager.hostname 0.0.0.0 The hostname of the RM.



举报

相关推荐

0 条评论