Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex MetaData Hub
  • About Yandex MetaData Hub
    • Getting started
    • Service roles for access management
    • Troubleshooting
    • Terraform reference
    • Audit Trails events
  • Access management
  • Quotas and limits
  • Pricing policy
  • Public materials
  • Release notes

In this article:

  • Error when creating a database in Apache Hive™ Metastore
  • No permission error when attaching a service account to the cluster
  1. Apache Hive™ Metastore
  2. Troubleshooting

Troubleshooting in Apache Hive™ Metastore

Written by
Yandex Cloud
Updated at October 15, 2025
  • Error when creating a database in Apache Hive™ Metastore
  • No permission error when attaching a service account to the cluster

This section describes issues you may encounter in the service and how to troubleshoot them.

  • Error when creating a database
  • No permission error when attaching a service account to a cluster

Error when creating a database in Apache Hive™ MetastoreError when creating a database in Apache Hive™ Metastore

The error occurs if you use the following syntax to create a database:

CREATE DATABASE IF NOT EXISTS <DB_name>;

Solution
Apache Hive™ Metastore does not allow creating a database or table in Hive: they are stored in a Yandex Object Storage bucket linked to a Yandex Data Processing cluster. To create a database, use the following syntax:

CREATE DATABASE IF NOT EXISTS <DB_name> LOCATION <DB_location>;

In the LOCATION parameter, specify the path to the bucket and the database in it in the following format: s3a://<bucket_name>/<folder_name>/<DB_name>. Specifying a folder is optional; however, objects will load into a folder faster than into the bucket root.

No permission error when attaching a service account to the clusterNo permission error when attaching a service account to the cluster

Error message:

ERROR: rpc error: code = PermissionDenied desc = you do not have permission to access the requested service account or service account does not exist

This error occurs if you link a service account to a cluster while creating or modifying it.

Solution
Assign the iam.serviceAccounts.user role or higher to your Yandex Cloud account.

Apache® and Apache Hive™ are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

Was the article helpful?

Previous
Service roles for access management
Next
Overview
© 2025 Direct Cursus Technology L.L.C.