01 2017 档案

摘要:工作中使用MapReduce任务导出一批含有路径的文件,共计行数300W+,需要检测文件是否在对应的服务器中存在,而文件所在的服务器并非hadoop集群的服务器,因此打算采用bash脚本进行。具体的方法如下(可直接看方法2,方法1效率较低): 2. 采用的方法 a. 方法1 原本打算使用如下脚本,进 阅读全文
posted @ 2017-01-21 14:35 mengrennwpu 阅读(1559) 评论(0) 推荐(0) 编辑
摘要:1. Translating Java Classes to Scala Classes Example 1: Example 2: Example 3: Example 4: Example 5: Translating Java imports to Scala imports: Example 阅读全文
posted @ 2017-01-06 23:23 mengrennwpu 阅读(258) 评论(0) 推荐(0) 编辑
摘要:1. Unified Type System Scala has a unified type system, enclosed by the type Any at the top of the hierarchy and the type Nothing at the bottom of the 阅读全文
posted @ 2017-01-05 22:08 mengrennwpu 阅读(442) 评论(0) 推荐(0) 编辑