在使用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内部能访问到服务就好了。