Experimentation on Spark's SaveMode

Experiment on the effect of different SaveMode and Cassandra starting from a populated table


If the cassandra table that spark targets exists then

View dnd_stats.html
<!DOCTYPE html>
<meta charset="utf-8">
<style type="text/css">
html {
display: table;
margin: auto;
body {
This script exercises the join as well as left, right and full outer join as implemented in
Apache Spark. Employee and Department tables were inspired by the examples in wiki's articles
on join operation:
(31, 'Rafferty')
(33, 'Jones')
(33, 'Heisenberg')
#Author: Travis Gibson
#This script requires an argument for the resolution width
#Thanks go out to eCharles for a patch in the comments of this link here:
#Get connected adapter
adapter=$(xrandr -q | grep "connected" | cut -d " " -f 1)
if [ -z "$adapter" ]; then
echo "Connected adapter not found. Check xrandr -q."
#Exit if no adapter is connected