[ Launch: Crossfilter test array ] 2791af0fdca8942d8e99 by ianthomas[ Launch: Crossfilter test ] 406b62f6af836f92fa04 by Dr3yla[ Launch: Crossfilter test ] 14748bab5e6a84098b8c by Dr3yla
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__author__ = 'apreston' | |
from pymongo import MongoClient | |
import datetime, time, string | |
import codecs | |
import itertools | |
#c = MongoClient() | |
c = MongoClient("mongodb://datascientist:pass@host/db") | |
db = c.mj_tweets | |
collection = db.mj_sample |
[ Launch: Crossfilter test array ] 97b60392f06f34ad5477 by ianthomas[ Launch: Crossfilter test array ] 2791af0fdca8942d8e99 by ianthomas[ Launch: Crossfilter test ] 406b62f6af836f92fa04 by Dr3yla[ Launch: Crossfilter test ] 14748bab5e6a84098b8c by Dr3yla
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#install prereqs | |
sudo yum install -y python27-devel.x86_64 | |
sudo yum install -y libpng-devel | |
sudo yum install -y freetype-devel | |
#Installing iPython Notebook | |
if grep isMaster /mnt/var/lib/info/instance.json | grep true; | |
then | |
cd /home/hadoop |