Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rahulkumar-aws/wordcount
Example code of Scala and Spark Word Count.
https://github.com/rahulkumar-aws/wordcount
Last synced: about 1 month ago
JSON representation
Example code of Scala and Spark Word Count.
- Host: GitHub
- URL: https://github.com/rahulkumar-aws/wordcount
- Owner: rahulkumar-aws
- Created: 2015-08-09T09:33:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-13T09:54:23.000Z (over 9 years ago)
- Last Synced: 2023-08-12T06:13:46.828Z (over 1 year ago)
- Language: Scala
- Size: 367 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Introduction
**Sample code for Apache Spark Word Count.**
*Scala Word Count example:*
```sbt "run-main ScalaWordCount src/main/resources/sherlockholmes.txt out.txt"```
*Apache Spark Word Count example*
```sbt "run-main ScalaWordCount src/main/resources/sherlockholmes.txt out"```
*Apache Spark Network Word Count example*
```$ nc -lk 9999```
rahul kumar
```sbt "run-main StreamingWordCount"```
*OutPut :*
*-------------------------------------------*
*Time: 1439458120000 ms*
*-------------------------------------------*
*(rahul,1)*
*(kumar,1)*