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

相关推荐
yatingliu20197 小时前
HiveQL | 个人学习笔记
hive·笔记·sql·学习
一个天蝎座 白勺 程序猿17 小时前
Apache IoTDB(4):深度解析时序数据库 IoTDB 在Kubernetes 集群中的部署与实践指南
数据库·深度学习·kubernetes·apache·时序数据库·iotdb
喂完待续1 天前
【Tech Arch】Spark为何成为大数据引擎之王
大数据·hadoop·python·数据分析·spark·apache·mapreduce
tan77º1 天前
【项目】分布式Json-RPC框架 - 项目介绍与前置知识准备
linux·网络·分布式·网络协议·tcp/ip·rpc·json
Koma_zhe1 天前
【本地部署问答软件Apache Answer】Answer开源平台搭建:cpolar内网穿透服务助力全球用户社区构建
开源·apache
Viking_bird1 天前
Apache Spark 3.2.0 开发测试环境部署指南
大数据·分布式·ajax·spark·apache
Fireworkitte2 天前
org.apache.kafka.clients 和 org.springframework.kafka 的区别
kafka·apache
wei_shuo2 天前
时序数据库 Apache IoTDB:从边缘到云端Apache IoTDB 全链路数据管理能力、部署流程与安全特性解读
物联网·apache·时序数据库·iotdb
步行cgn2 天前
在 HTML 表单中,name 和 value 属性在 GET 和 POST 请求中的对应关系如下:
前端·hive·html