2020年4月20日

在进行airflow分布式调用时出现worker在master flower中未显示的问题

摘要: 经查证大多数时未正常启动worker的问题 查看worker.error 发现未有root权限设置 因使用celery 执行代码 so 需要在celery_executor.py中强制设置C_FORCE_ROOT linux 查找celery_executor.py from celery impo 阅读全文

posted @ 2020-04-20 11:47 Zhearts 阅读(485) 评论(0) 推荐(0) 编辑

2019年4月15日

hive写入hdfs

摘要: insert overwrite directory '/user/stastics.txt'row format delimited fields terminated by '\t' stored as textfileselect * from 0601_04_stastics; 阅读全文

posted @ 2019-04-15 11:16 Zhearts 阅读(467) 评论(0) 推荐(0) 编辑

2019年4月8日

1、pymysql.err.OperationalError: (2003, “Can’t connect to MySQL server on ‘localhost’ ([Errno 111] Connection refused)”)

摘要: 解决:MySQL> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'IDENTIFIED BY '123456' WITH GRANT OPTION; MySQL> flush privileges; 最终解决方法为 新建用户 增加 权限 #db = pymysql 阅读全文

posted @ 2019-04-08 09:45 Zhearts 阅读(9066) 评论(0) 推荐(0) 编辑

2017年4月6日

input填入字符会出现黄色

摘要: input:-webkit-autofill { box-shadow: 0 0 0px 1000px white inset !important; } 阅读全文

posted @ 2017-04-06 21:02 Zhearts 阅读(212) 评论(0) 推荐(0) 编辑

2016年7月21日

安装Scrapy时出现问题scrapy unicodedecodeerror ascii codec cant decode byte 0xd1 in position

摘要: 在python目录下的Lib找到mimetypes.py,添加如下红框中的代码 阅读全文

posted @ 2016-07-21 15:36 Zhearts 阅读(189) 评论(0) 推荐(0) 编辑

2016年3月30日

SVN 出现:Previous operation has not finished; run 'cleanup' if it was interrupted。

摘要: SVN出现:Previous operation has not finished; run 'cleanup' if it was interrupted。 这个问题更新时出现,现在处理, 1、下载Sqlite3.exe 2、放在项目与.svn评级目录下 3、cmd 找到sqlite3 执行 sq 阅读全文

posted @ 2016-03-30 15:34 Zhearts 阅读(216) 评论(0) 推荐(0) 编辑

2016年2月25日

Myeclipse小技巧

摘要: 使用Myeclipse点开源代码,跟随定位到包位置,在Myeclipse中设置如下: 选择如下红圈中的选项: 阅读全文

posted @ 2016-02-25 12:38 Zhearts 阅读(183) 评论(0) 推荐(0) 编辑

2015年8月11日

好的开发网站

摘要: http://sourceforge.net/directory/os:windows/freshness:recently-updated/ 阅读全文

posted @ 2015-08-11 11:11 Zhearts 阅读(92) 评论(0) 推荐(0) 编辑

导航