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 到这个目录中

相关推荐
waicsdn_haha9 分钟前
Kubeflow 2025 全栈式机器学习平台部署指南(云原生+量子混合计算)
python·神经网络·云原生·开放原子·apache·量子计算·kubeflow
SeaTunnel13 小时前
Apache SeaTunnel 人物专访 | 张东浩:从使用者到Committer的开源历程
开源·apache
SeaTunnel16 小时前
2025年 Apache SeaTunnel 2月份社区月报速递
apache
带娃的IT创业者16 小时前
《Python实战进阶》No18: 使用 Apache Spark 进行分布式计算
python·spark·apache
Ιτ-ωoгκεг19 小时前
在 Java 中使用 Apache POI 为 Word 文档添加水印
java·word·apache·poi·水印
Java陈序员21 小时前
IDEA 必备插件!轻松搞定 JSON 格式化!
java·json·intellij idea
好记性+烂笔头1 天前
Hive八股
hive
StableAndCalm1 天前
什么是hive
数据仓库·hive·hadoop
trabecula_hj2 天前
SpreadVue实现内置excel在线编辑并保存为后端可以接受的json格式
json·excel·spreadjs·spreadvue
阿珊和她的猫2 天前
SyntaxError: Invalid or unexpected token in JSON at position x
json·状态模式