开发者社区> 问答> 正文

使用pxf访问外接表,查询提示错误

hawqgsdb=# select count(*) from retail_demo.customers_dim_pxf;
ERROR: remote component error (500) from '192.168.21.3:51200': type Exception report message File /retail_demo/customers_dim/customers_dim.tsv.gz does not exist description The server encountered an internal error that prevented it from fulfilling this request. exception java.io.IOException: File /retail_demo/customers_dim/customers_dim.tsv.gz does not exist (libchurl.c:897) (seg2 dataserver1:40000 pid=707258) (dispatcher.c:1805)
DETAIL: External table customers_dim_pxf, file pxf://192.168.21.8:51200/retail_demo/customers_dim/customers_dim.tsv.gz?profile=HdfsTextSimple

展开
收起
jasligea 2018-11-10 17:33:00 3036 0
1 条回答
写回答
取消 提交回答
  • 引起上图的问题,主要是hdfs的相关配置文件,信息不正确造成的,可以把hdfs的配置文件,core-site.xml,hdfs-site.xml,mapred-env.sh,yarn-site.xml
    ,slaves等保证正确后,重启pxf服务即可

    2019-07-17 23:13:23
    赞同 展开评论 打赏
问答地址:
问答排行榜
最热
最新

相关电子书

更多
面向失败设计 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载