Skip to content

Instantly share code, notes, and snippets.

nihed / gist:43856c0ae7e1cb57eb60
Created May 15, 2015
Sample of Spark Job based on a List
View gist:43856c0ae7e1cb57eb60
package com.nihed.sparksample;
import java.util.ArrayList;
import org.apache.spark.SparkConf;
import scala.Tuple2;
* @author nihed
View RegionsStats.rb
require 'java'
require 'net/http'
import java.util.Collection;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Map;
import java.util.TreeMap;
import java.util.logging.Level;
import java.util.logging.Logger;