开发者社区> 问答> 正文

impala报错:Could not initialize class org.?400报错

impala-shell启动后,执行show tables和show databases都正常,执行表查询,就报错,具体错误信息如下:

[tjxt11:21000] > select * from dim_channel;
Query: select * from dim_channel
Query submitted at: 2017-10-26 16:53:10 (Coordinator: http://tjxt11:25000)
ERROR: AnalysisException: Failed to load metadata for table: 'dim_channel'
CAUSED BY: TableLoadingException: Failed to load metadata for table: fjitv.dim_channel. Running 'invalidate metadata fjitv.dim_channel' may resolve this problem.
CAUSED BY: NoClassDefFoundError: Could not initialize class org.apache.impala.util.MetaStoreUtil

本人使用rpm包的方式安装的impala,不知道是否配置上有问题,有没有大神解决下?

展开
收起
爱吃鱼的程序员 2020-06-08 09:51:34 1019 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    执行invalidatemetadatafjitv.dim_channel

    impala表数据更新时需同步元数据才可操作该表

    2020-06-08 09:51:47
    赞同 展开评论 打赏
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Sketching Data With T-Digest in Apache Spark 立即下载
Spark SQL: Another 16x faster aFer Tungsten SPARC processor has drama1c advantages over x86 on Apache Spark 立即下载
Apache Spark at Scale: A 60 TB+ production use case 立即下载