Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chabane/bigdata-playground
A complete example of a big data application using : Kubernetes (kops/aws), Apache Spark SQL/Streaming/MLib, Apache Flink, Scala, Python, Apache Kafka, Apache Hbase, Apache Parquet, Apache Avro, Apache Storm, Twitter Api, MongoDB, NodeJS, Angular, GraphQL
https://github.com/chabane/bigdata-playground
angular apache-flink apache-spark avro big-data docker graphql hadoop hbase kafka kops machine-learning mongodb nodejs parquet python scala spark-sql spark-streaming twitter-api
Last synced: 25 days ago
JSON representation
A complete example of a big data application using : Kubernetes (kops/aws), Apache Spark SQL/Streaming/MLib, Apache Flink, Scala, Python, Apache Kafka, Apache Hbase, Apache Parquet, Apache Avro, Apache Storm, Twitter Api, MongoDB, NodeJS, Angular, GraphQL
- Host: GitHub
- URL: https://github.com/chabane/bigdata-playground
- Owner: Chabane
- License: apache-2.0
- Created: 2017-12-12T22:06:34.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-01T10:08:13.000Z (almost 6 years ago)
- Last Synced: 2024-10-12T00:03:46.583Z (25 days ago)
- Topics: angular, apache-flink, apache-spark, avro, big-data, docker, graphql, hadoop, hbase, kafka, kops, machine-learning, mongodb, nodejs, parquet, python, scala, spark-sql, spark-streaming, twitter-api
- Language: TypeScript
- Homepage:
- Size: 3.08 MB
- Stars: 208
- Watchers: 19
- Forks: 73
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bigdata Playground
The aim is to create a Batch/Streaming/ML/WebApp stack where you can test your jobs locally or to submit them to the Yarn resource manager. We are using Docker to build the environment and Docker-Compose to provision it with the required components (Next step using Kubernetes). Along with the infrastructure, We are check that it works with 4 projects that just probes everything is working as expected. The boilerplate is based on a sample search flight Web application.
## Installation
If you are on mac then, you can use package manager like `brew` to install `sbt` on your machine:```bash
$ brew install sbt
```For other systems, you can refer to manual instructions from `sbt` website http://www.scala-sbt.org/0.13/tutorial/Manual-Installation.html.
If you are on mac then, you can use package manager like `brew` to install `maven` on your machine:
```bash
$ brew install maven
```
For other systems, you can refer to manual instructions from `maven` website https://maven.apache.org/install.html.Install Docker by following the instructions for mac, linux, or windows.
```
docker network create vnet
npm install yarn -g
cd webapp && yarn && cd client && yarn && cd ../server && yarn && cd ../ && npm run build:dev && cd ../
cd batch/spark && sbt clean package assembly && cd ../..cd batch/hadoop && mvn clean package && cd ../..
cd streaming/spark && sbt clean assembly && cd ../..
cd streaming/flink && sbt clean assembly && cd ../..
cd streaming/storm && mvn clean package && cd ../..
cd docker
docker-compose -f mongo.yml -f zookeeper.yml -f kafka.yml -f hadoop-hbase.yml -f flink.yml up -d
docker-compose -f dev/webapp.yml up -d
docker-compose -f dev/batch-spark.yml up -d
docker-compose -f dev/batch-hadoop.yml up -d
docker-compose -f dev/streaming-spark.yml up -d
docker-compose -f dev/streaming-flink.yml up -d
docker-compose -f dev/streaming-storm.yml up -d
```
Create your Twitter app on https://apps.twitter.com
```
export TWITTER_CONSUMER_KEY=
export TWITTER_CONSUMER_SECRET=
export TWITTER_CONSUMER_ACCESS_TOKEN=
export TWITTER_CONSUMER_ACCESS_TOKEN_SECRET=
docker-compose -f dev/ml-spark.yml up -d
```## Interactions / OnGoing
## Contributing
`Pull requests` are welcome.## Support
Please raise tickets for issues and improvements at https://github.com/Chabane/bigdata-playground/issues## License
This example is released under version 2.0 of the [Apache License](LICENSE).