一、准备工作
确认你已开通腾讯云,并且创建了一个 EMR 集群。
二、开始访问 Knox
使用集群公网 IP 地址访问。建议修改集群拥有公网 IP 的 CVM 安全组规则,限定 TCP:30002 端口的访问 IP 端为你的 IP 端。
1. 通过集群详情查看公网 IP。
2. 在浏览器中访问相应服务的 URL。
·HDFS UI:https://{集群公网ip}:30002/gateway/emr/hdfs
·Yarn UI:https://{集群公网ip}:30002/gateway/emr/yarn
·Hive UI:https://{集群公网ip}:30002/gateway/emr/hive
·Hbase UI:https://{集群公网ip}:30002/gateway/emr/hbase/webui
·Storm UI:https://{集群公网ip}:30002/gateway/emr/stormui
·Ganglia UI:https://{集群公网ip}:30002/gateway/emr/ganglia/
·Presto UI:https://{集群公网ip}:30002/gateway/emr/presto/
·Oozie UI:https://{集群公网ip}:30002/gateway/emr/oozie/
·Livy UI:https://{集群公网ip}:30002/gateway/emr/livy/v1/
·Ranger UI:https://{集群公网ip}:30002/gateway/emr/ranger/
·Alluxio UI:https://{集群公网ip}:30002/gateway/emr/alluxio/
·Impala UI:https://{集群公网ip}:30002/gateway/emr/impalastore/
·Ganglia UI:https://{集群公网ip}:30002/gateway/emr/ganglia/
·Spark UI:https://{集群公网ip}:30002/gateway/emr/sparkhistory/
·Tez UI:https://{集群公网ip}:30002/gateway/emr/tez/
3. 浏览器显示你的链接不是私密链接,是因为 Knox 服务使用了自签名证书,请再次确认访问的是自己集群的公网 IP,并且端口为30002。选择高级 > 继续前往。
4. 弹出的验证登录框,用户名为 root,默认密码为创建集群时输入的密码。建议你修改密码,可以在该页面中单击重置原生 UI 密码进行修改。