Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Catalog creation on Databricks Free

オープン
#5,695 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
go
領域
cli, databases

調査の方向性

POST /api/2.1/unity-catalog/catalogs へのカタログ作成リクエストと、issue に示されている YAML 設定から始めます。storage_root を省略した場合の動作を Databricks Free の Default Storage 要件と比較し、その後、明示的なストレージロケーションなしでカタログの作成が成功することを確認します。

索引モデルが issue の本文から書いたものです。

説明

DABs
Describe the issue

DABs should support catalogs creation. One of the required parameters is storage_root. However on Databricks Free, I can't set this as I don't have access to underlying storage.

Configuration
bundle:
  name: poc
  engine: direct

workspace:
  host: 
  root_path: /Workspace/Users/[email protected]/.bundle/${bundle.target}/catalogs/${bundle.name}

targets:
  prod:
    mode: production
    default: true

resources:
  catalogs:
    poc:
      name: poc
      comment: "Proof of concept catalog for development purposes"
      lifecycle:
        prevent_destroy: true
Steps to reproduce the behavior
  1. Run databricks bundle deploy ...
  2. See error
Expected Behavior

There should be an option to create catalog without specifying storage_root parameter.

Actual Behavior
Uploading bundle files to /Workspace/Users/[email protected]/.bundle/prod/catalogs/poc/files...
Deploying resources...
Error: cannot create resources.catalogs.poc: Metastore storage root URL does not exist. Default Storage is enabled in your account. You can use the UI to create a new catalog using Default Storage, or please provide a storage location for the catalog (for example 'CREATE CATALOG myCatalog MANAGED LOCATION '<location-path>'). (400 INVALID_STATE)

Endpoint: POST https://....cloud.databricks.com/api/2.1/unity-catalog/catalogs
HTTP Status: 400 Bad Request
API error_code: INVALID_STATE
API message: Metastore storage root URL does not exist. Default Storage is enabled in your account. You can use the UI to create a new catalog using Default Storage, or please provide a storage location for the catalog (for example 'CREATE CATALOG myCatalog MANAGED LOCATION '<location-path>').
OS and CLI version

OS: Fedora
CLI: v1.4.0

Is this a regression?

n/a - trying for the first time.

主要言語
Go
スター
404
フォーク
246
平均マージ
1日 11時間
マージ済み PR(30日)
229

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

databricks/cli のほかの issue

databricks/cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。