Hive Metastore 連線¶
Hive Metastore 連線類型啟用 Hive Metastore 整合。
驗證 Hive Metastore¶
透過 Apache Thrift Hive Server 和 hmsclient 驗證 Hive Metastore。
預設連線 ID¶
所有與 Hive Metastore 相關的 hook 和運算子預設使用 metastore_default
。
設定連線¶
- 主機 (選填)
您的 Hive Metastore 節點的主機。可以將多個主機指定為逗號分隔的列表。
- Port (選填)
您的 Hive Metastore port 號碼。
- 額外 (選填)
指定可用於 Hive Metastore 連線的額外參數 (以 json 字典形式)。以下參數皆為選填
auth_mechanism
指定驗證機制。預設為NOSASL
。kerberos_service_name
指定 Kerberos 服務名稱。預設為hive
。
在環境變數中指定連線時,應使用 URI 語法。
請注意,URI 的所有組件都應進行 URL 編碼。
例如
export AIRFLOW_CONN_METASTORE_DEFAULT='hive-metastore://hive-metastore-node:80?auth_mechanism=NOSASL'