上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 26 下一页

2019年11月13日

面向对象

摘要: 面向过程:根据业务逻辑从上到下垒代码,所有的事都需要自己去处理. 引入函数,避免可重复使用代码.面向函数: 将某功能代码封装到函数中,以后直接调用,不需要再次编写 面向对象:先要写一个类, 对函数进行分类和封装,类里可以有很多函数,让开发“更快更好更强...” 像Java和C++等编程语言仅支持面向 阅读全文

posted @ 2019-11-13 15:24 锋锋2019 阅读(104) 评论(0) 推荐(0) 编辑

for循环

摘要: for var in .... statement statement else: statement 例子:注意range(5)是5次循环,range(0,5)是5次循环,range(1,5)是4次循环, for i in range(5): print (i) else: print ("the 阅读全文

posted @ 2019-11-13 15:17 锋锋2019 阅读(117) 评论(0) 推荐(0) 编辑

if---else

摘要: if x= =A: do something for A elif x = = B: do something for B else: do something for else python没有分支结构case, 用多个elif来实现分支。 例子: AGE = 56 guess_age = int 阅读全文

posted @ 2019-11-13 15:13 锋锋2019 阅读(990) 评论(0) 推荐(0) 编辑

airflow的web任务管理

摘要: ariflow里绿的代表都跑完了:红的表示有问题:点红的图标进去: 点tree view 红色表示那一天失败: 点进去看可以看log: 点clear则是重跑任务: 阅读全文

posted @ 2019-11-13 11:16 锋锋2019 阅读(597) 评论(0) 推荐(0) 编辑

airflow原理

摘要: 官网: http://airflow.apache.org/installation.html 原理: https://www.cnblogs.com/cord/p/9450910.html 原理介绍: DAG:有向无环图,有方向但没有循环 airflow 的守护进程airflow 系统在运行时有许 阅读全文

posted @ 2019-11-13 10:52 锋锋2019 阅读(1483) 评论(0) 推荐(0) 编辑

2019年11月11日

算法flink

摘要: 和Yarn-Cluster模式不同,Session模式的资源在启动Yarn-Session时候就已经启动了,后续提交的作业全都在已申请的资源空间内运行,比较适合小而多的作业 # 启动yarn-session模式,不用启动flink集群 cm: http://152.32.141.11:7180/cm 阅读全文

posted @ 2019-11-11 19:31 锋锋2019 阅读(339) 评论(0) 推荐(0) 编辑

2019年11月9日

cm api

摘要: cm API:https://github.com/cloudera/cm_api/tree/master/python/examples/auto-deploy#看集群有几个clustercurl -u admin:opaytest99 'http://localhost:7180/api/v1/ 阅读全文

posted @ 2019-11-09 20:01 锋锋2019 阅读(383) 评论(0) 推荐(0) 编辑

阿里EMR原理

摘要: hadoop2.8.5: https://hadoop.apache.org/docs/r2.8.5/ 阿里文档: EMR里可以通过 Ranger组件来实现https://help.aliyun.com/document_detail/66410.html?spm=a2c4g.11186623.3. 阅读全文

posted @ 2019-11-09 18:15 锋锋2019 阅读(1022) 评论(0) 推荐(0) 编辑

2019年11月7日

oride采集体系

该文被密码保护。 阅读全文

posted @ 2019-11-07 17:45 锋锋2019 阅读(5) 评论(0) 推荐(0) 编辑

binlog 采集系统构建

该文被密码保护。 阅读全文

posted @ 2019-11-07 16:05 锋锋2019 阅读(10) 评论(0) 推荐(0) 编辑

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 26 下一页

导航