大数据学习整理篇(四)SuperSet 0.36.0降级安装

在做大数据展现的时候,打算使用SuperSet进行数据展现,但是问题很多,不仅要降级处理,而且phoenix也不能使用,所以这篇文章只是记录如何正确安装SuperSet,但是不推荐使用,因为如果遇到需要使用phoenix连接HBase,则困难重重,获取新版本会有所突破。但那是以后的是,如果参考SuperSet使用手册,用最新的Docker方式进行安装,会报下面的错误。

git clone https://github.com/apache/incubator-superset/
cd incubator-superset
# you can run this command everytime you need to start superset now:
docker-compose up

在做superset-init的时候,会报下面错误

OSError: [Errno 99] Cannot assign requested address

只能降级处理,下载0.35.2包(具体版本,请看下面网址)

https://github.com/apache/incubator-superset/tags

降级处理步骤如下:

git clone https://github.com/apache/incubator-superset/
cd incubator-superset/contrib/docker
# prefix with SUPERSET_LOAD_EXAMPLES=yes to load examples:
docker-compose run --rm superset ./docker-init.sh
# you can run this command everytime you need to start superset now:
docker-compose up

安装完后,使用http://localhost:8088,admin,密码:admin登录即可。

服务起来后打开网页127.0.0.1:8088进行访问。


如果要连到mysql的数据库,需要安装库,操作如下:

docker ps
docker exec -it CONTAINER_ID/bin/bash
python3 -m  pip install mysqlclient

参考文章:

扫描二维码关注公众号,回复: 12435790 查看本文章

https://blog.csdn.net/zhangpeterx/article/details/102475128

 

猜你喜欢

转载自blog.csdn.net/penker_zhao/article/details/107658731
今日推荐