Spark报错处理系列之:MetaException message:Number of partitions scanned =67487 on table 'product' exceeds limit =32767. This is controlled on the metastore server by metastore.limit.partition.request.
一、完整报错
- MetaException(message:Number of partitions scanned (=67487) on table ‘product’ exceeds limit (=32767). This is controlled on the metastore server by metastore.limit.partition.request.)
at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore g e t p a r t i t i o
本文详细分析了Spark在处理Hive表时遇到的MetaException错误,该错误因扫描的分区数量超过元数据服务器限制(默认32767)导致。文章提供了错误的完整堆栈信息,并解释了错误原因,最后给出了解决问题的方法,即增加分区筛选条件以减少拉取的分区数量。
订阅专栏 解锁全文
1531

被折叠的 条评论
为什么被折叠?



