接下来写ViewModels 创建运单的ViewModel类 以上分别为创建运单,查看运单,以及注册,以及登录的ViewModels,作为Views和Models之间的连接器 ...
编译:0. 环境准备maven(下载安装,配置环境变量,修改sitting.xml加阿里云镜像)gcc-c++zlib-develautoconfautomakelibtool通过yum安装即可,yum -y install gcc-c++ lzo-devel zlib-devel autoconf... ...
分类:
其他好文 时间:
2019-08-06 13:43:12
阅读次数:
119
Win7 Eclipse 搭建spark java1.8环境:WordCount helloworld例子 ...
分类:
编程语言 时间:
2019-08-03 10:51:57
阅读次数:
87
一、WordCount原理 初学MapReduce编程,WordCount作为入门经典,类似于初学编程时的Hello World。WordCount的逻辑就是给定一个/多个文本,统计出文本中每次单词/词出现的次数。网上找的一张MapReduce实现WordCount的图例,基本描述清楚了WordCo ...
分类:
其他好文 时间:
2019-08-01 00:04:29
阅读次数:
254
Streaming hdfs count 需要先启动 hadoop 集群。 hadoop 启动成功之后,下面就是关于 stream 的代码,stream 统计代码如下,将下面的代码进行打包,上传到服务器上即可。 代码需要传递两个参数,一个是 stream 监控的数据输入目录,一个是输出目录。对应的执 ...
分类:
其他好文 时间:
2019-07-28 19:25:40
阅读次数:
83
引入:spark scala java实现wordcount 1.spark scala实现wordcount 详细版本 2.spark java实现wordcount ...
分类:
编程语言 时间:
2019-07-23 22:38:14
阅读次数:
145
1.flink wordcount pom文件 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XM ...
分类:
其他好文 时间:
2019-07-10 14:56:20
阅读次数:
78
利用mapWithState算子实现有状态的wordCount,且按照word的第一个字母为key,但是要求输出的格式为(word,1)这样形式的结果 ...
分类:
其他好文 时间:
2019-07-07 14:32:37
阅读次数:
103