为什么我们需要在hdfs-site.xml中设置rpc地址
Why do we need to set rpc address in hdfs-site.xml
在hdfs-site.xml中,我们设置
dfs.namenode.rpc-地址参数。我想了解设置该参数的意义。我知道 rpc 地址是什么意思,但为什么 hdfs 需要我们设置那个参数?
它处理所有客户端请求。
RPC address that handles all clients requests. In the case of
HA/Federation where multiple namenodes exist, the name service id is
added to the name e.g. dfs.namenode.rpc-address.ns1
dfs.namenode.rpc-address.EXAMPLENAMESERVICE The value of this property
will take the form of nn-host1:rpc-port.
在hdfs-site.xml中,我们设置 dfs.namenode.rpc-地址参数。我想了解设置该参数的意义。我知道 rpc 地址是什么意思,但为什么 hdfs 需要我们设置那个参数?
它处理所有客户端请求。
RPC address that handles all clients requests. In the case of HA/Federation where multiple namenodes exist, the name service id is added to the name e.g. dfs.namenode.rpc-address.ns1 dfs.namenode.rpc-address.EXAMPLENAMESERVICE The value of this property will take the form of nn-host1:rpc-port.