Creating a Hive Metastore cluster
Note
This feature is in the Preview stage. To get access, contact tech support
To learn more about Metastore clusters in Yandex Data Proc, see Hive Metastore clusters.
Configure a network
Set up a NAT gateway in the subnet the cluster will connect to. It is needed for the cluster to interact with Yandex Cloud services.
Configure security groups
If the cloud network uses security groups, they can hinder the cluster's operation. Set up the default security group to work with Metastore. To do this, add the following rules to it:
-
For incoming client traffic:
- Port range:
30000-32767
- Protocol:
Any
(Any
) - Source:
CIDR
- CIDR blocks:
0.0.0.0/0
- Port range:
-
For incoming load balancer traffic:
- Port range:
10256
- Protocol:
Any
(Any
) - Source:
Load balancer healthchecks
- Port range:
If you plan to use multiple security groups for a cluster, enable all traffic between these groups.
Note
You can set more detailed rules for security groups, such as allowing traffic in only specific subnets.
Create a cluster
-
In the management console
, select the folder where you want to create a server. -
Select Data Proc.
-
In the left-hand panel, select
Metastore. -
Click Create cluster.
-
Enter a name for the cluster. It must be unique within the folder.
-
(Optional) Enter a cluster description.
-
Under Network settings, select the network and subnet to host the Metastore cluster.
Set up a NAT gateway in the selected subnet. For more information, see Configure a network.
-
To enable a Metastore cluster to interact with Yandex Object Storage, under Object Storage access settings, specify the Access key ID and Secret key of the AWS-compatible static access key.
-
If required, enable protection of the cluster from accidental deletion by a user.
Cluster deletion protection will not prevent a manual connection to a cluster to delete data.
-
Click Create.