Missing SerDeStorageSchemaReader class when creating Avro tables with schema file

未关闭
#630 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
kubernetes, rust

调研方向

首先,针对 Hive Metastore 部署复现 SQL 示例,并确认 SerDeStorageSchemaReader 类未找到错误。检查该部署如何提供 Hive 和 Hadoop 类;当使用 avro_schema_url 创建的 Avro 表可以在 Trino 中查询和删除且不出现此错误时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

When creating a Hive external table with the Avro schema URL defined the result is a table that cannot be queried or droped:

 create table hive.test.avro_test (
    LOAD_DATE varchar,
    ID varchar,
    EMAIL varchar,
    NAME varchar
)
with (
    format = 'AVRO',
    external_location = 'hdfs://hdfs/test/table1',
    avro_schema_url = 'hdfs://hdfs/schema/table1.avsc'
);

All operations on the table produce the following error:

[SQL Error [16777216]: Query failed (#20250804_105604_00015_upgzh): org.apache.hadoop.hive.metastore.SerDeStorageSchemaReader class not found](url)

Once the table is created it can no longer be managed from Trino.

This was originally opened as a Trino issue (https://github.com/stackabletech/trino-operator/issues/783) but the issue lies with hive metastore missing the required Java classes from Hive and Hadoop.

主要语言
Rust
星标
29
派生
2
平均合并
1 天 19 小时
30 天内合并 PR
12

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

stackabletech/hive-operator 的其他 Issue

查看 stackabletech/hive-operator 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。