如何强制datanode和resourcemanager使用ip而不是主机名?

yvfmudvl  于 2021-05-27  发布在  Hadoop
关注(0)|答案(0)|浏览(290)

我正在用composer运行hadoop堆栈,在webui中,服务datanode和resourcemanager显示为hostname而不是ip。有办法配置它使用ip吗?


我的hadoop环境:

CORE_CONF_fs_defaultFS=hdfs://namenode:8020

HDFS_CONF_dfs_webhdfs_enabled=true

YARN_CONF_yarn_log___aggregation___enable=true
YARN_CONF_yarn_resourcemanager_recovery_enabled=true
YARN_CONF_yarn_resourcemanager_store_class=org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore
YARN_CONF_yarn_resourcemanager_fs_state___store_uri=/rmstate
YARN_CONF_yarn_nodemanager_remote___app___log___dir=/app-logs
YARN_CONF_yarn_log_server_url=http://timelineserver:8188/applicationhistory/logs/
YARN_CONF_yarn_timeline___service_enabled=true
YARN_CONF_yarn_timeline___service_generic___application___history_enabled=true
YARN_CONF_yarn_resourcemanager_system___metrics___publisher_enabled=true
YARN_CONF_yarn_resourcemanager_address=resourcemanager:8032
YARN_CONF_yarn_resourcemanager_webapp_address=resourcemanager:8088
YARN_CONF_yarn_resourcemanager_scheduler_address=resourcemanager:8030
YARN_CONF_yarn_resourcemanager_resource___tracker_address=resourcemanager:8031

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题