Cannot list Trino tables from Hive metastore using derby
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- kubernetes
- Ambito
- databases, distributed-systems
Direzione di ricerca
Inizia con il percorso SHOW TABLES IN hive.myschema e il deployment Hive metastore/Trino descritto nel report; confronta la configurazione Derby con la configurazione Postgres funzionante ed esamina la discussione correlata su Derby nell’issue 154. Il lavoro è completo quando è stato determinato se Derby può essere supportato per questo caso d’uso e la gestione concordata è stata registrata o implementata, con l’elenco delle tabelle verificato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I wanted to connect Superset to Trino (V403) using Hive(V3.1.3) connector and a shared S3 bucket.
Creating a schema in Trino worked, the schema could be listed as well:
CREATE SCHEMA IF NOT EXISTS hive.myschema WITH (location = 's3a://bucket/')
Creating a table in that schema and querying that (via Trino CLI or Superset SQL query) worked:
CREATE TABLE IF NOT EXISTS hive.myschema.mytable (
myInt BIGINT
)
WITH (
external_location = 's3a://bucket/foo/',
format = 'PARQUET'
);
Listing that table via:
SHOW TABLES IN hive.myschema
leads to a EXTERNAL_HIVE_EXCEPTION due to a socket timeout (in Trino). The Hive metastore pod was reachable from the Trino coordinator pod (curl).
In Superset, when creating a dataset from a Trino database, the tables cannot be listed either (and therefore no dataset created). This can be circumvented but is not great in terms of user experience.
Switching Hive to Postgres instead of Derby worked.
We have a related issue (comment) with Derby https://github.com/stackabletech/hive-operator/issues/154#issuecomment-1182968401 to document that this should not be used for HA or in production at all.
In demos and integration tests with hive, afaik we always use Postgres.
This needs some investigation and a decision on how to deal/support Derby in the future.
I did not test Hive 2.3.9 or other Trino versions.
- Lingua principale
- Rust
- Stelle
- 29
- Fork
- 2
- Merge medio
- 1g 19h
- PR unite (30g)
- 12
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di stackabletech/hive-operator
-
type/bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
stackabletech/hive-operator#757 ·
-
customer-request
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
stackabletech/hive-operator#717 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
stackabletech/hive-operator#678 · 1 reazione ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
stackabletech/hive-operator#630 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
stackabletech/hive-operator#573 ·
Tutte le issue di stackabletech/hive-operator
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
ontola/atomic-server#1625 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
VirusTotal/yara-x#777 ·
-
has_tail_capacity wraps and get_writable_raw_unchecked commits raw_len before the bounds check Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
stratum-mining/stratum#2404 ·
-
bug ci good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100