Skip to content

Instantly share code, notes, and snippets.

View MisterSpicy's full-sized avatar

Brian Albright MisterSpicy

  • Brisbane, Australia
View GitHub Profile
%{
"visited" => false,
"author_flair_template_id" => nil,
"pwls" => 6,
"approved_by" => nil,
"view_count" => 9,
"title" => "Unclear on the API Auth Requirements and usage limits.",
"parent_whitelist_status" => "all_ads",
"send_replies" => true,
"created" => 1525684477.0,
import java.nio.file.Paths;
import org.apache.spark.SparkConf;
import org.apache.spark.api.java.JavaRDD;
import org.apache.spark.api.java.JavaSparkContext;
import org.apache.spark.sql.hive.HiveContext;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
public class TestSparkHive {
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.sparktest</groupId>
<artifactId>sparktest</artifactId>
<version>1.0-SNAPSHOT</version>