wb.ouyang

毕竟几人真得鹿,不知终日梦为鱼

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

随笔分类 -  大数据

连接greenplum(postgresql)数据库报错:no pg_hba.conf entry for host,以及重启 greenplum
摘要:解决办法: 修改pg_hba.conf,在第一行添加一行: host all all 0.0.0.0/0 md5 表示允许任何用户连接到任何数据库,用一个加密的密码 完全信任: host all all 0.0.0.0/0 trust 对应 greenplum,搜索 pg_hba.conf 文件 添 阅读全文

posted @ 2020-07-04 10:35 wenbin_ouyang 阅读(3454) 评论(0) 推荐(1) 编辑

gpstop error: postmaster.pid file does not exist. is Greenplum instance already stopped
摘要:在目录 /data/gpmaster/gpseg-1 下查看 “postmaster.pid” 是否存在 不存在,pgstart 启动试试 阅读全文

posted @ 2020-05-18 08:58 wenbin_ouyang 阅读(2075) 评论(0) 推荐(0) 编辑

airflow入门demo
摘要:1)Airflow 入门及使用 2)Airflow 入门教程&示例 阅读全文

posted @ 2020-05-15 19:04 wenbin_ouyang 阅读(407) 评论(0) 推荐(0) 编辑

airflow + mysql(CentOS7安装MySQL(完整版))
摘要:目录:1、centos7.8 安装 mysql 5.72、mysql-airflow 的配置3、可能遇到的问题3.1、初始化 mysql 数据库时 ModuleNotFoundError: No module named 'MySQLdb' 3.2、安装mysql-devel出错 1、centos7 阅读全文

posted @ 2020-05-15 18:34 wenbin_ouyang 阅读(1834) 评论(0) 推荐(0) 编辑

Failed building wheel for psycopg2
摘要:1、linux 平台 使用 airflow 初始化 “airflow initdb” 时,报psycopg2模块找不到。 安装 psycopg2,报 Failed building wheel for psycopg2 pip install psycopg2 -i https://pypi.dou 阅读全文

posted @ 2020-05-15 15:42 wenbin_ouyang 阅读(1130) 评论(0) 推荐(0) 编辑

centos7 安装 airflow(安装 centos7、python3.6、mysql5.7、airflow)
摘要:目录: 1、centos7 安装 apache-airflow 1.1、下载安装 centos7 1.2、centos7 安装 python3 1.3、centos7 安装 mysql 1.4、安装 airflow 1.5、初始化数据库表(默认使用本地的sqlite数据库) 1.6、启动 airfl 阅读全文

posted @ 2020-05-15 14:52 wenbin_ouyang 阅读(2057) 评论(0) 推荐(0) 编辑

linux 和 windows Python pip 安装与使用, 安装包管理器 distribute
摘要:1、linux 上安装 原来python2.7自带pip工具,但是执行 pip uninstall Flask 后导致 pip命令找不到。下面重新安装pip查看 python版本:python --version 通过以下命令来判断是否已安装pip:pip --version。如果没有,使用以下方法 阅读全文

posted @ 2020-05-15 14:47 wenbin_ouyang 阅读(1173) 评论(0) 推荐(0) 编辑

Greenplum 解决 gpstop -u 指令报错
摘要:解决 gpstop -u 指令报错:gpstop failed. (Reason='[Errno 2] No such file or directory: '/data/gpmaster/postgresql.conf'') exiting 另外,参考: 1) Greenplum学习笔记(1)远程 阅读全文

posted @ 2020-05-15 13:13 wenbin_ouyang 阅读(1758) 评论(0) 推荐(0) 编辑

python使用pip安装模块出现ReadTimeoutError: HTTPSConnectionPool的解决方法(pip使用豆瓣源)
摘要:今天使用pip安装第三库时,有时会报错: pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. 使用 阅读全文

posted @ 2020-05-15 12:33 wenbin_ouyang 阅读(509) 评论(0) 推荐(0) 编辑

yum安装(卸载)本地rpm包的方法(卸载本地安装的greenplum 5.19.rpm)
摘要:1、先查看是否有版本: #rpm -qa|grep jdk 2、再卸载 #yum remove Java-*-openjdk –y #yum remove java-1.8.0-openjdk-headless-1.8.0.91-1.b14.el6.x86_64-y 卸载 greenplum: yu 阅读全文

posted @ 2020-05-14 09:07 wenbin_ouyang 阅读(1542) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示