一、词频统计: 1.读文本文件生成RDD lines 2.将一行一行的文本分割成单词 words flatmap() lines=sc.textFile("file:///usr/local/spark/mycode/wordcount/word.txt") words = lines.flatMa ...
分类:
其他好文 时间:
2021-04-06 15:08:22
阅读次数:
0
一、filter,map,flatmap练习: 1.读文本文件生成RDD lines 2.将一行一行的文本分割成单词 words 3.全部转换为小写 4.去掉长度小于3的单词 5.去掉停用词 二、groupByKey练习 6.练习一的生成单词键值对 7.对单词进行分组 8.查看分组结果 学生科目成绩 ...
分类:
其他好文 时间:
2021-04-06 15:04:43
阅读次数:
0
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
分类:
编程语言 时间:
2021-04-06 15:03:33
阅读次数:
0
JavaDoc /** * @author saxon * @version 1.0 * @since 1.8 */ 生产javaDoc文档 -encoding utf-8 -charset utf-8 点击index(主页) ...
分类:
编程语言 时间:
2021-04-06 14:46:17
阅读次数:
0
使用 jsonify 时,返回的 http response 的 Content-Type 是:Content-Type: application/json 使用json.dumps时,Content-Type则是:Content-Type: text/html; charset=utf-8 其他基 ...
分类:
Web程序 时间:
2021-04-06 14:40:10
阅读次数:
0
window安装c语言/C++/Fortran编译器 step01 下载安装编译器MinGW-win64 下载地址是 http://mingw-w64.org/ 点进去之后下载,安装,选择路径,安装路径中bin文件夹需要作为环境变量进行配置。 step02 配置环境变量 右键计算机-属性-高级-环境 ...
分类:
编程语言 时间:
2021-04-06 14:39:22
阅读次数:
0
Adobe ColdFusion 反序列化漏洞 0x01.环境搭建 利用vulhub搭建漏洞环境 service docker start docker-compose up -d 查看开启的端口号 docker-compose ps 访问http://target_ip:8500/CFIDE/ad ...
分类:
其他好文 时间:
2021-04-06 14:28:21
阅读次数:
0
### [RFC4511 Result Code](https://datatracker.ietf.org/doc/rfc4511/?include_text=1) ``` success (0), operationsError (1), protocolError (2), timeLimit ...
分类:
其他好文 时间:
2021-04-06 14:19:59
阅读次数:
0
一、WEB应用程序B/S ( browser/server ,浏览器/服务器)架构 基于HTTP传输协议(超文本传输协议,回忆HTML的名字:超文本标记语言) WEB程序必须要运行在web容器上,如Tomcat /Jboss/WebLogic等 二、HTTP协议HTTP使用TCP作为它的支撑运输层协 ...
分类:
编程语言 时间:
2021-04-06 14:12:31
阅读次数:
0
 ![](https://img2020.cnblogs.com/blog/2287326/202104/2287... ...
分类:
其他好文 时间:
2021-04-06 14:08:18
阅读次数:
0