Spark example WordCount
来源:互联网 发布:视频教程网站源码 编辑:程序博客网 时间:2024/06/05 21:54
scala IDE:IDEA
Scala code:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
如果运行在集群中,需要将程序打包成jar包,使用Spark提供的spark-submit提交到集群
- 1
- 1
–class: 应用入口类(例如:org.apache.spark.examples.SparkPi )
–master: 集群的master URL (如:spark://23.195.26.187:7077)
更多提交时设置的内容可以参考Spark官方文档http://spark.apache.org/docs/latest/submitting-applications.html
阅读全文
0 0
- Spark example WordCount
- spark-wordcount
- Spark-wordcount
- wordcount spark...
- wordCount spark
- spark wordcount
- Spark WordCount
- spark wordcount
- Spark WordCount
- spark wordcount
- spark wordcount
- eclipse运行hadoop wordcount example
- Spark流处理(WordCount)
- spark入门之wordcount
- spark如何wordcount中文
- Spark入门-WordCount
- Spark之WordCount
- 007-spark的wordCount
- C#强类型概述
- CodeForces 71 A.Way Too Long Words(水~)
- Bounding-box Regression
- 框架漫谈之hibernate(一)为什么要使用hibernate框架
- weex仿新闻
- Spark example WordCount
- Spring08---AOP_基于xml
- CMD 命令速查手册
- LeetCode
- 帮朋友建了个电子书分享网站
- PAT
- Linux基本入门学习
- python matplotlib简单示例
- XML中特殊字符的处理