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

相关推荐
电商API&Tina6 小时前
电商API接口的应用与简要分析||taobao|jd|微店
大数据·python·数据分析·json
方方洛10 小时前
技术实践总结:schema-bridgion:json、xml、yaml、toml文件相互转换
xml·前端·typescript·node.js·json
weixin_4624462311 小时前
Hive 4.0.1 自动安装脚本详解:一键部署 + 环境变量配置(适用于 Linux)
linux·hive·hadoop
無森~12 小时前
Hive执行复杂查询报错
大数据·数据仓库·hive
無森~13 小时前
Hive SQL(进阶)
hive·hadoop·sql
提笔了无痕21 小时前
Web中Token验证如何实现(go语言)
前端·go·json·restful
白日与明月1 天前
Hive 中 UNION 与 UNION ALL
hive
白日与明月1 天前
Hive 大表 Join 优化:从策略选择到倾斜处理
数据仓库·hive·hadoop
Java程序员威哥1 天前
SpringBoot2.x与3.x自动配置注册差异深度解析:从原理到迁移实战
java·大数据·开发语言·hive·hadoop·spring boot·后端
你才是臭弟弟1 天前
Apache Flink+Apache Iceberg(协作关系)
大数据·flink·apache