Komponen Hive WebHCat opsional Managed Service for Apache Spark

Anda dapat menginstal komponen tambahan seperti Hive WebHCat saat membuat cluster Managed Service untuk Apache Spark menggunakan fitur Komponen opsional. Halaman ini menjelaskan komponen Hive WebHCat.

Komponen Hive WebHCat menyediakan REST API untuk HCatalog. Layanan REST tersedia di port 50111 pada node master pertama cluster.

Menginstal komponen

Instal komponen saat Anda membuat cluster Managed Service untuk Apache Spark. Komponen dapat ditambahkan ke cluster yang dibuat dengan Managed Service untuk Apache Spark versi 1.3 dan yang lebih baru.

Lihat Versi Managed Service untuk Apache Spark yang didukung untuk mengetahui versi komponen yang disertakan dalam setiap rilis image Managed Service untuk Apache Spark.

Perintah gcloud

Untuk membuat cluster Managed Service untuk Apache Spark yang menyertakan komponen Hive WebHCat, gunakan gcloud dataproc clusters create cluster-name perintah dengan tanda --optional-components.

gcloud dataproc clusters create cluster-name \
    --optional-components=HIVE_WEBHCAT \
    --region=region \
    ... other args

REST API

Komponen Hive WebHCat dapat ditentukan melalui Managed Service untuk Apache Spark API menggunakan SoftwareConfig.Component sebagai bagian dari permintaan clusters.create.

Konsol

  1. Aktifkan komponen.
    • Di Google Cloud konsol, buka halaman Managed Service untuk Apache Spark Buat cluster. Panel Set up cluster dipilih.
    • Di bagian Components, di bagian Optional components, pilih Hive WebHCat dan komponen opsional lainnya untuk diinstal di cluster Anda.