https://github.com/rahulkumar-aws/wordcount
Example code of Scala and Spark Word Count.
https://github.com/rahulkumar-aws/wordcount
Last synced: 4 months 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 (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-13T09:54:23.000Z (almost 10 years ago)
- Last Synced: 2025-01-27T08:12:31.963Z (6 months ago)
- Language: Scala
- Size: 367 KB
- Stars: 0
- Watchers: 3
- 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)*