[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-27。"],[[["\u003cp\u003eHive WebHCat provides a REST API for HCatalog and is accessible on port 50111 of the cluster's primary master node.\u003c/p\u003e\n"],["\u003cp\u003eThe Hive WebHCat component can be installed during the creation of a Dataproc cluster, starting with Dataproc version 1.3 and later.\u003c/p\u003e\n"],["\u003cp\u003eYou can install Hive WebHCat on a new cluster by using the \u003ccode\u003egcloud dataproc clusters create\u003c/code\u003e command with the \u003ccode\u003e--optional-components=HIVE_WEBHCAT\u003c/code\u003e flag.\u003c/p\u003e\n"],["\u003cp\u003eThe component can also be enabled during cluster creation through the Google Cloud console by selecting Hive WebHCat in the Optional components section.\u003c/p\u003e\n"],["\u003cp\u003eThe Hive WebHCat component can also be added to your cluster through the Dataproc API using SoftwareConfig.Component as part of a clusters.create request.\u003c/p\u003e\n"]]],[],null,["# Dataproc optional Hive WebHCat component\n\nYou can install additional components like Hive WebHCat when you create a Dataproc\ncluster using the\n[Optional components](/dataproc/docs/concepts/components/overview#available_optional_components)\nfeature. This page describes the Hive WebHCat component.\n\nThe [Hive WebHCat](https://cwiki.apache.org/confluence/display/Hive/WebHCat)\ncomponent provides a REST API for HCatalog. The REST service is available on port `50111`\non the cluster's first master node.\n\nInstall the component\n---------------------\n\nInstall the component when you create a Dataproc cluster.\nComponents can be added to clusters created with\nDataproc [version 1.3](/dataproc/docs/concepts/versioning/dataproc-release-1.3)\nand later.\n\nSee\n[Supported Dataproc versions](/dataproc/docs/concepts/versioning/dataproc-versions#supported_cloud_dataproc_versions)\nfor the component version included in each Dataproc image release. \n\n### gcloud command\n\nTo create a Dataproc cluster that includes the Hive WebHCat component,\nuse the\n[gcloud dataproc clusters create](/sdk/gcloud/reference/dataproc/clusters/create) \u003cvar translate=\"no\"\u003ecluster-name\u003c/var\u003e\ncommand with the `--optional-components` flag. \n\n```\ngcloud dataproc clusters create cluster-name \\\n --optional-components=HIVE_WEBHCAT \\\n --region=region \\\n ... other args\n```\n\n### REST API\n\nThe Hive WebHCat component can be specified through the Dataproc API using [SoftwareConfig.Component](/dataproc/docs/reference/rest/v1/ClusterConfig#Component) as part of a [clusters.create](/dataproc/docs/reference/rest/v1/projects.regions.clusters/create) request.\n\n### Console\n\n1. Enable the component.\n - In the Google Cloud console, open the Dataproc [Create a cluster](https://console.cloud.google.com/dataproc/clustersAdd) page. The Set up cluster panel is selected.\n - In the Components section, under Optional components, select Hive WebHCat and other optional components to install on your cluster."]]