diff options
-rw-r--r-- | css/style.css | 11 | ||||
-rw-r--r-- | documentation.md | 2 | ||||
-rw-r--r-- | screencasts/_posts/2013-04-10-1-first-steps-with-spark.md | 2 | ||||
-rw-r--r-- | screencasts/_posts/2013-04-11-2-spark-documentation-overview.md | 2 | ||||
-rw-r--r-- | screencasts/_posts/2013-04-16-3-transformations-and-caching.md | 4 | ||||
-rw-r--r-- | site/css/style.css | 11 | ||||
-rw-r--r-- | site/documentation.html | 2 | ||||
-rw-r--r-- | site/screencasts/1-first-steps-with-spark.html | 2 | ||||
-rw-r--r-- | site/screencasts/2-spark-documentation-overview.html | 2 | ||||
-rw-r--r-- | site/screencasts/3-transformations-and-caching.html | 4 | ||||
-rw-r--r-- | site/screencasts/index.html | 10 |
11 files changed, 40 insertions, 12 deletions
diff --git a/css/style.css b/css/style.css index f7651bdd3..58faae36a 100644 --- a/css/style.css +++ b/css/style.css @@ -2714,13 +2714,18 @@ ul { /* Make embedded video containers look better with responsive design */ .video-container { position: relative; - padding-bottom: 90%; - padding-top: 25px; height: 0; overflow: hidden; margin-bottom: 20px; } - +.video-square { + padding-top: 25px; + padding-bottom: 90%; +} +.video-16x9 { + padding-top: 25px; + padding-bottom: 60%; +} .video-container iframe, .video-container object, .video-container embed { diff --git a/documentation.md b/documentation.md index 3fee268c4..963fae62b 100644 --- a/documentation.md +++ b/documentation.md @@ -25,6 +25,8 @@ navigation: <li><a href="{{site.url}}screencasts/1-first-steps-with-spark.html">Screencast 1: First Steps with Spark</a></li> <li><a href="{{site.url}}screencasts/2-spark-documentation-overview.html">Screencast 2: Spark Documentation Overview</a></li> <li><a href="{{site.url}}screencasts/3-transformations-and-caching.html">Screencast 3: Transformations and Caching</a></li> +<li><a href="{{site.url}}screencasts/4-a-standalone-job-in-spark.html">Screencast 4: A Spark Standalone Job in Scala</a></li> + </ul> <h3>Hands-On Exercises</h3> diff --git a/screencasts/_posts/2013-04-10-1-first-steps-with-spark.md b/screencasts/_posts/2013-04-10-1-first-steps-with-spark.md index 79c022f80..e38b68934 100644 --- a/screencasts/_posts/2013-04-10-1-first-steps-with-spark.md +++ b/screencasts/_posts/2013-04-10-1-first-steps-with-spark.md @@ -18,7 +18,7 @@ This screencast marks the beginning of a series of hands-on screencasts we will <li>Introduce the API using the Spark interactive shell to explore a file.</li> </ol> -<div class="video-container shadow"><iframe width="755" height="705" src="http://www.youtube.com/embed/KYlLglXD6Ic?autohide=0&showinfo=0" frameborder="0" allowfullscreen></iframe></div> +<div class="video-container video-square shadow"><iframe width="755" height="705" src="http://www.youtube.com/embed/KYlLglXD6Ic?autohide=0&showinfo=0" frameborder="0" allowfullscreen></iframe></div> Check out the next spark screencast in the series, <a href="{{site.url}}screencasts/2-spark-documentation-overview.html">Spark Screencast #2 - Overview of Spark Documentation</a>. diff --git a/screencasts/_posts/2013-04-11-2-spark-documentation-overview.md b/screencasts/_posts/2013-04-11-2-spark-documentation-overview.md index f16117415..025d1cd80 100644 --- a/screencasts/_posts/2013-04-11-2-spark-documentation-overview.md +++ b/screencasts/_posts/2013-04-11-2-spark-documentation-overview.md @@ -10,7 +10,7 @@ published: true --- This is our 2nd Spark screencast. In it, we take a tour of the documentation available for Spark users online. -<div class="video-container shadow"><iframe width="755" height="705" src="http://www.youtube.com/embed/TikdEfsrFnw?autohide=0&showinfo=0" frameborder="0" allowfullscreen></iframe></div> +<div class="video-container video-square shadow"><iframe width="755" height="705" src="http://www.youtube.com/embed/TikdEfsrFnw?autohide=0&showinfo=0" frameborder="0" allowfullscreen></iframe></div> Check out the next spark screencast in the series, <a href="{{site.url}}screencasts/3-transformations-and-caching.html">Spark Screencast #3 - Transformations and Caching</a>. diff --git a/screencasts/_posts/2013-04-16-3-transformations-and-caching.md b/screencasts/_posts/2013-04-16-3-transformations-and-caching.md index 1ee96ea82..e16772bf7 100644 --- a/screencasts/_posts/2013-04-16-3-transformations-and-caching.md +++ b/screencasts/_posts/2013-04-16-3-transformations-and-caching.md @@ -10,6 +10,8 @@ published: true --- In this third Spark screencast, we demonstrate more advanced use of RDD actions and transformations, as well as caching RDDs in memory. -<div class="video-container shadow"><iframe width="755" height="705" src="http://www.youtube.com/embed/T1lZcimvL18?autohide=0&showinfo=0" frameborder="0" allowfullscreen></iframe></div> +<div class="video-container video-square shadow"><iframe width="755" height="705" src="http://www.youtube.com/embed/T1lZcimvL18?autohide=0&showinfo=0" frameborder="0" allowfullscreen></iframe></div> + +Check out the next spark screencast in the series, <a href="{{site.url}}screencasts/4-a-standalone-job-in-spark.html">Spark Screencast #4 - A Standalone Job in Scala</a>. For more information and links to other Spark screencasts, check out the <a href="{{site.url}}documentation.html">Spark documentation page</a>. diff --git a/site/css/style.css b/site/css/style.css index f7651bdd3..58faae36a 100644 --- a/site/css/style.css +++ b/site/css/style.css @@ -2714,13 +2714,18 @@ ul { /* Make embedded video containers look better with responsive design */ .video-container { position: relative; - padding-bottom: 90%; - padding-top: 25px; height: 0; overflow: hidden; margin-bottom: 20px; } - +.video-square { + padding-top: 25px; + padding-bottom: 90%; +} +.video-16x9 { + padding-top: 25px; + padding-bottom: 60%; +} .video-container iframe, .video-container object, .video-container embed { diff --git a/site/documentation.html b/site/documentation.html index a3471f310..26309ad68 100644 --- a/site/documentation.html +++ b/site/documentation.html @@ -122,6 +122,8 @@ <li><a href="/screencasts/1-first-steps-with-spark.html">Screencast 1: First Steps with Spark</a></li> <li><a href="/screencasts/2-spark-documentation-overview.html">Screencast 2: Spark Documentation Overview</a></li> <li><a href="/screencasts/3-transformations-and-caching.html">Screencast 3: Transformations and Caching</a></li> +<li><a href="/screencasts/4-a-standalone-job-in-spark.html">Screencast 4: A Spark Standalone Job in Scala</a></li> + </ul> <h3>Hands-On Exercises</h3> diff --git a/site/screencasts/1-first-steps-with-spark.html b/site/screencasts/1-first-steps-with-spark.html index ea751a075..00d05cd5a 100644 --- a/site/screencasts/1-first-steps-with-spark.html +++ b/site/screencasts/1-first-steps-with-spark.html @@ -113,7 +113,7 @@ <li>Introduce the API using the Spark interactive shell to explore a file.</li> </ol> -<div class="video-container shadow"><iframe width="755" height="705" src="http://www.youtube.com/embed/KYlLglXD6Ic?autohide=0&showinfo=0" frameborder="0" allowfullscreen=""></iframe></div> +<div class="video-container video-square shadow"><iframe width="755" height="705" src="http://www.youtube.com/embed/KYlLglXD6Ic?autohide=0&showinfo=0" frameborder="0" allowfullscreen=""></iframe></div> <p>Check out the next spark screencast in the series, <a href="/screencasts/2-spark-documentation-overview.html">Spark Screencast #2 - Overview of Spark Documentation</a>.</p> diff --git a/site/screencasts/2-spark-documentation-overview.html b/site/screencasts/2-spark-documentation-overview.html index 00906dcc5..deb57f0d4 100644 --- a/site/screencasts/2-spark-documentation-overview.html +++ b/site/screencasts/2-spark-documentation-overview.html @@ -109,7 +109,7 @@ <p>This is our 2nd Spark screencast. In it, we take a tour of the documentation available for Spark users online.</p> -<div class="video-container shadow"><iframe width="755" height="705" src="http://www.youtube.com/embed/TikdEfsrFnw?autohide=0&showinfo=0" frameborder="0" allowfullscreen=""></iframe></div> +<div class="video-container video-square shadow"><iframe width="755" height="705" src="http://www.youtube.com/embed/TikdEfsrFnw?autohide=0&showinfo=0" frameborder="0" allowfullscreen=""></iframe></div> <p>Check out the next spark screencast in the series, <a href="/screencasts/3-transformations-and-caching.html">Spark Screencast #3 - Transformations and Caching</a>.</p> diff --git a/site/screencasts/3-transformations-and-caching.html b/site/screencasts/3-transformations-and-caching.html index 5c0a40a20..ccf371d8a 100644 --- a/site/screencasts/3-transformations-and-caching.html +++ b/site/screencasts/3-transformations-and-caching.html @@ -109,7 +109,9 @@ <p>In this third Spark screencast, we demonstrate more advanced use of RDD actions and transformations, as well as caching RDDs in memory.</p> -<div class="video-container shadow"><iframe width="755" height="705" src="http://www.youtube.com/embed/T1lZcimvL18?autohide=0&showinfo=0" frameborder="0" allowfullscreen=""></iframe></div> +<div class="video-container video-square shadow"><iframe width="755" height="705" src="http://www.youtube.com/embed/T1lZcimvL18?autohide=0&showinfo=0" frameborder="0" allowfullscreen=""></iframe></div> + +<p>Check out the next spark screencast in the series, <a href="/screencasts/4-a-standalone-job-in-spark.html">Spark Screencast #4 - A Standalone Job in Scala</a>.</p> <p>For more information and links to other Spark screencasts, check out the <a href="/documentation.html">Spark documentation page</a>.</p> diff --git a/site/screencasts/index.html b/site/screencasts/index.html index 01edf78aa..3150902b9 100644 --- a/site/screencasts/index.html +++ b/site/screencasts/index.html @@ -107,6 +107,16 @@ <article class="hentry"> <header class="entry-header"> + <h1 class="entry-title"><a href="/screencasts/4-a-standalone-job-in-spark.html">A Standalone Job in Scala - Spark Screencast #4</a></h1> + <div class="entry-meta">August 26, 2013</div> + </header> + <div class="entry-content"><p>In this Spark screencast, we create a standalone Apache Spark job in Scala. In the job, we create a spark context and read a file into an RDD of strings; then apply transformations and actions to the RDD and print out the results.</p> + +</div> + </article> + +<article class="hentry"> + <header class="entry-header"> <h1 class="entry-title"><a href="/screencasts/3-transformations-and-caching.html">Transformations and Caching - Spark Screencast #3</a></h1> <div class="entry-meta">April 16, 2013</div> </header> |