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
#!/usr/bin/env python2.7 | |
import matplotlib | |
matplotlib.use('Agg') | |
import matplotlib.pyplot as plt # For plotting graphs. | |
from contextlib import contextmanager | |
from collections import namedtuple | |
import urllib | |
import json |
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
package com.hipmunk.pig.udfs; | |
import org.apache.pig.EvalFunc; | |
import org.apache.pig.backend.executionengine.ExecException; | |
import org.apache.pig.data.BagFactory; | |
import org.apache.pig.data.DataBag; | |
import org.apache.pig.data.DefaultBagFactory; | |
import org.apache.pig.data.Tuple; | |
import org.apache.pig.data.TupleFactory; |
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
#!/usr/bin/env python | |
import os | |
import sys | |
import signal | |
import logging | |
def multijob(jobs): | |
pids = {} |
OlderNewer