有没有可能用Dataproc的组件网关来暴露色调?我看了一遍文档,没有找到任何添加服务的选项。我正在使用下面的命令创建Dataproc集群。
gcloud beta dataproc clusters create hive-cluster \
--scopes sql-admin,bigquery \
--image-version 1.5 \
--master-machine-type n1-standard-4 \
--num-masters 1 \
--worker-machine-type n1-standard-1 \
--num-workers 2 \
--region $REGION \
--zone $ZONE \
--optional-components=ANACONDA,JUPYTER \
--initialization-actions gs://bucket/init-scripts/cloud-sql-proxy.sh,gs://bucket/init-scripts/hue.sh \
--properties hive:hive.metastore.warehouse.dir=gs://$PROJECT-warehouse/datasets,dataproc:jupyter.notebook.gcs.dir=gs://bucket/notebooks/jupyter \
--metadata "hive-metastore-instance=$PROJECT:$REGION:hive-metastore" \
--enable-component-gateway发布于 2020-11-02 08:23:05
色调不是Dataproc的可选组件,因此无法从组件网关访问。目前,您必须使用Dataproc web接口:
创建集群后,将Hue配置为在Dataproc集群中的主节点上的端口8888上运行。要连接到色调web界面,您需要创建一个SSH隧道,并在web浏览器中使用SOCKS 5代理,如dataproc web interfaces文档中所述。在打开的web浏览器中,转到'localhost:8888‘,您应该会看到Hue UI.
https://stackoverflow.com/questions/64637071
复制相似问题