Docker image for Twitter Sentiment analysis with Spark MLlib
668
Dockerfiles for Twitter sentiment analysis with Spark MLlib and visualization referenced by https://github.com/P7h/Spark-MLlib-Twitter-Sentiment-Analysis.
The image is available directly from https://index.docker.io.
Docker image to analyse and visualize sentiment of tweets in real-time on a world map using Apache Spark ecosystem (Spark MLlib + Spark Streaming + Spark SQL).
For more details on this project and the code associated with it, please check the blogpost.
Also, README of https://github.com/P7h/Spark-MLlib-Twitter-Sentiment-Analysis has details on how to execute this project.
Note:
I had actually written this as a blog post on my personal website, but unfortunately I managed to corrupt my Octopress GitHub repo. :anguished: :weary: :rage: So, till the time I salvage it, I thought of publishing it as GitHub wiki for the time being.





There are 2 ways of getting this image:
Copy the Dockerfile and the other 2 supporting files: bootstrap.sh and exec_spark_jobs.sh to a folder on your local machine and then invoke the following command.
docker build -t p7hb/p7hb-docker-mllib-twitter-sentiment:1.6.2 .
This will build the docker image on your machine.
Please wait as this might take a bit of time depending on your internet speed.
With this approach, we are pulling the image hosted on Docker Hub instead of building it ourselves.
docker pull p7hb/p7hb-docker-mllib-twitter-sentiment:1.6.2
Please check the README of the Spark-MLlib-Twitter-Sentiment-Analysis project for detailed instructions on executing this prototype.
If you find any issues or would like to discuss further, please ping me on my Twitter handle @P7h or drop me an email. Appreciate your help. Thanks!
Copyright © 2016 Prashanth Babu.
Licensed under the Apache License, Version 2.0.
Content type
Image
Digest
Size
670.7 MB
Last updated
over 9 years ago
docker pull p7hb/p7hb-docker-mllib-twitter-sentiment:1.6.2