hive json format 表 Class org.apache.hive.hcatalog.data.JsonSerDe not found

json 表
bash 复制代码
hive> create table testHive(name string, age int) row format serde 'org.apache.hive.hcatalog.data.JsonSerDe';
OK
Time taken: 0.74 seconds
hive> show tables;
OK
testhive
Time taken: 0.042 seconds, Fetched: 1 row(s)
hive> load data inpath '/testdata.txt' into table testhive;
Loading data to table default.testhive
OK
Time taken: 2.132 seconds
hive> select * from testhive;
OK
张三    17
李四    18
王五    16
Time taken: 1.293 seconds, Fetched: 3 row(s)

执行 select count 报:Class org.apache.hive.hcatalog.data.JsonSerDe not found

hive 创建 auxlib ,添加 hive-hcatalog-core-2.3.2.jar 到这个目录中

相关推荐
前网易架构师-高司机4 小时前
带标注的扑克牌识别数据集,识别率99.5%,3083张图,支持yolo,coco json,voc xml,文末有模型训练代码
xml·yolo·json·数据集·数字·扑克牌·纸牌
前网易架构师-高司机5 小时前
带标注的浮游藻类24种数据集,识别率91.5 %数据集, 23175张图,支持yolo,coco json,voc xml,文末有模型训练代码
yolo·json·数据集·微观·生物·浮游·藻类
Gent_倪5 小时前
数据治理之安全管理:Apache Ranger
apache
维天说20 小时前
CLI-Switch 2026年3月版历史设计:Hook、TTY 隔离与 JSON 状态
java·服务器·json
SelectDB1 天前
Apache Doris 实战教程:手把手实现 ClickHouse 表结构迁移与数据校验
apache
SelectDB1 天前
Apache Doris 实战教程:从零搭建 MCP Server,让 AI Agent 直接用自然语言查数据
apache
SelectDB1 天前
Apache Doris Segment V3 宽表优化实战教程:从建表到体验元数据按需加载
apache
java_logo1 天前
Docker Compose 部署 Apache Superset:轻松搭建开源 BI 平台
docker·开源·apache·superset·轩辕镜像·superset部署方案·docker superset
一颗小行星-2 天前
为什么有的JSON可以带注释?
json
Gent_倪2 天前
数据治理之元数据管理:Apache Atlas
apache