摘要: ''' 闭包函数: 1. 函数内部定义的函数 2. 对外部作用域而非全局作用域的引用 ! '''def x(): r = 1 def y(): print("Test text:{test}".format(test=r)) print("yys") return y''' 闭包作用: 1. 自带作用域 2. 延迟计算 '''from usrlib.urlrequest i... 阅读全文
posted @ 2019-06-19 16:56 MoonyPog 阅读(169) 评论(0) 推荐(0) 编辑
摘要: Hadoop-httpfs: client向httpfs提交文件操作,由httpfs和集群交互; 优势:client不必访问集群 WebHDFS API: https://archive.cloudera.com/cdh5/cdh/5/hadoop/hadoop-project-dist/hadoo 阅读全文
posted @ 2019-06-19 15:01 MoonyPog 阅读(785) 评论(0) 推荐(0) 编辑