datahub报错问题

在使用datahub 网页时报了这个错

raise TTransportException(type=TTransportException.NOT_OPEN, message=msg)\n'
           "thrift.transport.TTransport.TTransportException: Could not connect to any of [('127.0.0.1', 10001)]\n"
           '[2022-10-08 15:05:25,100] ERROR    {datahub.entrypoints:195} - Command failed: \n'
           "\tCould not connect to any of [('127.0.0.1', 10001)].\n"
           '\tRun with --debug to get full stacktrace.\n'
           "\te.g. 'datahub --debug ingest run -c /tmp/datahub/ingest/feb17030-3fc1-40de-bee1-cfd6324dd65f/recipe.yml --report-to "

我报错的原因是hive在宿主机的端口上,而在datahub中新增元数据有两种方式,一种使用网页ui,一种使用CLI,其实本质都是使用yaml配置文件进行配置,但是在ui中使用的好处是之后可以复用之前的配置导入,但是由于ui是在内网执行命令,所以穿透到宿主机访问hive比较麻烦,所以在写host:port时注意docker内部能访问到服务就好了。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值