Centos8.1安装superset踩坑指南(二)

前文Centos8.1安装superset踩坑指南(一)

superset load_examples加载样例报错 :
urllib.error.URLError: <urlopen error [Errno 111] Connection refused>
好像不太影响superset的搭建

又执行了下superset load_examples 提示如下,已经加载了一部分,加载到San Francisco population polygons时候拒绝链接了

Loading examples metadata and related data into examples
Creating default CSS templates
Loading energy related dataset
Creating table [wb_health_population] reference
Loading [World Bank’s Health Nutrition and Population Stats]
Creating table [wb_health_population] reference
Creating slices
Creating a World's Health Bank dashboard
Loading [Birth names]
Creating some slices
Creating a dashboard
Loading [Unicode test data]
Creating table [unicode_test] reference
Creating a slice
Creating a dashboard
Loading [Random time series data]
Creating table [random_time_series] reference
Creating a slice
Loading [Random long/lat data]
Creating table reference
Creating a slice
Loading [Country Map data]
Creating table reference
Creating a slice
Loading [Multiformat time series]
Creating table [multiformat_time_series] reference
Creating Heatmap charts
Loading [Paris GeoJson]
Creating table paris_iris_mapping reference
Loading [San Francisco population polygons]
Traceback (most recent call last):

再次执行了下superset load_examples 提示如下,table sf_population_polygons加载成功了,到下一个样例报错拒绝访问,所以个人猜测:可能是因为访问国外服务器不太稳定的原因,但是只是缺少样例图表,应该不影响superset的使用

Loading examples metadata and related data into examples
Creating default CSS templates
Loading energy related dataset
Creating table [wb_health_population] reference
Loading [World Bank‘s Health Nutrition and Population Stats]
Creating table [wb_health_population] reference
Creating slices
Creating a World's Health Bank dashboard
Loading [Birth names]
Creating some slices
Creating a dashboard
Loading [Unicode test data]
Creating table [unicode_test] reference
Creating a slice
Creating a dashboard
Loading [Random time series data]
Creating table [random_time_series] reference
Creating a slice
Loading [Random long/lat data]
Creating table reference
Creating a slice
Loading [Country Map data]
Creating table reference
Creating a slice
Loading [Multiformat time series]
Creating table [multiformat_time_series] reference
Creating Heatmap charts
Loading [Paris GeoJson]
Creating table paris_iris_mapping reference
Loading [San Francisco population polygons]
Creating table sf_population_polygons reference
Loading [Flights data]
Traceback (most recent call last):

就当是未完全加载examples,只是样例少了点儿,但是应该不影响后续执行,继续

#初始化
superset init
#运行
superset run -p 8088 --with-threads --reload --debugger

如下图:代表成功了,如果是在本地虚拟机上搭建的,直接访问http://127.0.0.1:8088/就可以看到炫酷的可视化图表了,可惜我这是在阿里云ESC服务器上,替换成公网IP还是不行,这个是我在之前用Django搭建自己博客时候遇到的问题,个人博客也是止步于此!
在这里插入图片描述

正常superset测试到这里结束了
后续继续解决访问服务器的问题

猜你喜欢

转载自blog.csdn.net/qq_35866846/article/details/106781085