spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hol...@apache.org
Subject [06/51] [partial] spark-website git commit: Add 2.1.2 docs
Date Tue, 17 Oct 2017 20:16:39 GMT
http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/java/org/apache/spark/api/java/JavaSparkStatusTracker.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/java/org/apache/spark/api/java/JavaSparkStatusTracker.html b/site/docs/2.1.2/api/java/org/apache/spark/api/java/JavaSparkStatusTracker.html
new file mode 100644
index 0000000..a54f037
--- /dev/null
+++ b/site/docs/2.1.2/api/java/org/apache/spark/api/java/JavaSparkStatusTracker.html
@@ -0,0 +1,323 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (1.7.0_151) on Mon Oct 02 14:47:27 PDT 2017 -->
+<title>JavaSparkStatusTracker (Spark 2.1.2 JavaDoc)</title>
+<meta name="date" content="2017-10-02">
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="JavaSparkStatusTracker (Spark 2.1.2 JavaDoc)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../org/apache/spark/api/java/JavaSparkContext.html" title="class in org.apache.spark.api.java"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../../org/apache/spark/api/java/JavaUtils.html" title="class in org.apache.spark.api.java"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/spark/api/java/JavaSparkStatusTracker.html" target="_top">Frames</a></li>
+<li><a href="JavaSparkStatusTracker.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.spark.api.java</div>
+<h2 title="Class JavaSparkStatusTracker" class="title">Class JavaSparkStatusTracker</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li>Object</li>
+<li>
+<ul class="inheritance">
+<li>org.apache.spark.api.java.JavaSparkStatusTracker</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <span class="strong">JavaSparkStatusTracker</span>
+extends Object</pre>
+<div class="block">Low-level status reporting APIs for monitoring job and stage progress.
+ <p>
+ These APIs intentionally provide very weak consistency semantics; consumers of these APIs should
+ be prepared to handle empty / missing information.  For example, a job's stage ids may be known
+ but the status API may not have any information about the details of those stages, so
+ <code>getStageInfo</code> could potentially return <code>null</code> for a valid stage id.
+ <p>
+ To limit memory usage, these APIs only provide information on recent jobs / stages.  These APIs
+ will provide information for the last <code>spark.ui.retainedStages</code> stages and
+ <code>spark.ui.retainedJobs</code> jobs.
+ <p></div>
+<dl><dt><span class="strong">Note:</span></dt>
+  <dd>This class's constructor should be considered private and may be subject to change.</dd></dl>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>int[]</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaSparkStatusTracker.html#getActiveJobIds()">getActiveJobIds</a></strong>()</code>
+<div class="block">Returns an array containing the ids of all active jobs.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>int[]</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaSparkStatusTracker.html#getActiveStageIds()">getActiveStageIds</a></strong>()</code>
+<div class="block">Returns an array containing the ids of all active stages.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>int[]</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaSparkStatusTracker.html#getJobIdsForGroup(java.lang.String)">getJobIdsForGroup</a></strong>(String&nbsp;jobGroup)</code>
+<div class="block">Return a list of all known jobs in a particular job group.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/spark/SparkJobInfo.html" title="interface in org.apache.spark">SparkJobInfo</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaSparkStatusTracker.html#getJobInfo(int)">getJobInfo</a></strong>(int&nbsp;jobId)</code>
+<div class="block">Returns job information, or <code>null</code> if the job info could not be found or was garbage collected.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/spark/SparkStageInfo.html" title="interface in org.apache.spark">SparkStageInfo</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaSparkStatusTracker.html#getStageInfo(int)">getStageInfo</a></strong>(int&nbsp;stageId)</code>
+<div class="block">Returns stage information, or <code>null</code> if the stage info could not be found or was
+ garbage collected.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;Object</h3>
+<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="getJobIdsForGroup(java.lang.String)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getJobIdsForGroup</h4>
+<pre>public&nbsp;int[]&nbsp;getJobIdsForGroup(String&nbsp;jobGroup)</pre>
+<div class="block">Return a list of all known jobs in a particular job group.  If <code>jobGroup</code> is <code>null</code>, then
+ returns all known jobs that are not associated with a job group.
+ <p>
+ The returned list may contain running, failed, and completed jobs, and may vary across
+ invocations of this method.  This method does not guarantee the order of the elements in
+ its result.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jobGroup</code> - (undocumented)</dd>
+<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
+</li>
+</ul>
+<a name="getActiveStageIds()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getActiveStageIds</h4>
+<pre>public&nbsp;int[]&nbsp;getActiveStageIds()</pre>
+<div class="block">Returns an array containing the ids of all active stages.
+ <p>
+ This method does not guarantee the order of the elements in its result.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
+</li>
+</ul>
+<a name="getActiveJobIds()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getActiveJobIds</h4>
+<pre>public&nbsp;int[]&nbsp;getActiveJobIds()</pre>
+<div class="block">Returns an array containing the ids of all active jobs.
+ <p>
+ This method does not guarantee the order of the elements in its result.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
+</li>
+</ul>
+<a name="getJobInfo(int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getJobInfo</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/spark/SparkJobInfo.html" title="interface in org.apache.spark">SparkJobInfo</a>&nbsp;getJobInfo(int&nbsp;jobId)</pre>
+<div class="block">Returns job information, or <code>null</code> if the job info could not be found or was garbage collected.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jobId</code> - (undocumented)</dd>
+<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
+</li>
+</ul>
+<a name="getStageInfo(int)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>getStageInfo</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/spark/SparkStageInfo.html" title="interface in org.apache.spark">SparkStageInfo</a>&nbsp;getStageInfo(int&nbsp;stageId)</pre>
+<div class="block">Returns stage information, or <code>null</code> if the stage info could not be found or was
+ garbage collected.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stageId</code> - (undocumented)</dd>
+<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../org/apache/spark/api/java/JavaSparkContext.html" title="class in org.apache.spark.api.java"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../../org/apache/spark/api/java/JavaUtils.html" title="class in org.apache.spark.api.java"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/spark/api/java/JavaSparkStatusTracker.html" target="_top">Frames</a></li>
+<li><a href="JavaSparkStatusTracker.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<script defer="defer" type="text/javascript" src="../../../../../lib/jquery.js"></script><script defer="defer" type="text/javascript" src="../../../../../lib/api-javadocs.js"></script></body>
+</html>

http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/java/org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/java/org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html b/site/docs/2.1.2/api/java/org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html
new file mode 100644
index 0000000..ace18ed
--- /dev/null
+++ b/site/docs/2.1.2/api/java/org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html
@@ -0,0 +1,346 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (1.7.0_151) on Mon Oct 02 14:47:27 PDT 2017 -->
+<title>JavaUtils.SerializableMapWrapper (Spark 2.1.2 JavaDoc)</title>
+<meta name="date" content="2017-10-02">
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="JavaUtils.SerializableMapWrapper (Spark 2.1.2 JavaDoc)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../org/apache/spark/api/java/JavaUtils.html" title="class in org.apache.spark.api.java"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" target="_top">Frames</a></li>
+<li><a href="JavaUtils.SerializableMapWrapper.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li><a href="#nested_classes_inherited_from_class_java.util.AbstractMap">Nested</a>&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.spark.api.java</div>
+<h2 title="Class JavaUtils.SerializableMapWrapper" class="title">Class JavaUtils.SerializableMapWrapper&lt;A,B&gt;</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li>Object</li>
+<li>
+<ul class="inheritance">
+<li>java.util.AbstractMap&lt;A,B&gt;</li>
+<li>
+<ul class="inheritance">
+<li>org.apache.spark.api.java.JavaUtils.SerializableMapWrapper&lt;A,B&gt;</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd>java.io.Serializable, java.util.Map&lt;A,B&gt;</dd>
+</dl>
+<dl>
+<dt>Enclosing class:</dt>
+<dd><a href="../../../../../org/apache/spark/api/java/JavaUtils.html" title="class in org.apache.spark.api.java">JavaUtils</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public static class <span class="strong">JavaUtils.SerializableMapWrapper&lt;A,B&gt;</span>
+extends java.util.AbstractMap&lt;A,B&gt;
+implements java.io.Serializable</pre>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../serialized-form.html#org.apache.spark.api.java.JavaUtils.SerializableMapWrapper">Serialized Form</a></dd></dl>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="nested_class_summary">
+<!--   -->
+</a>
+<h3>Nested Class Summary</h3>
+<ul class="blockList">
+<li class="blockList"><a name="nested_classes_inherited_from_class_java.util.AbstractMap">
+<!--   -->
+</a>
+<h3>Nested classes/interfaces inherited from class&nbsp;java.util.AbstractMap</h3>
+<code>java.util.AbstractMap.SimpleEntry&lt;K,V&gt;, java.util.AbstractMap.SimpleImmutableEntry&lt;K,V&gt;</code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="nested_classes_inherited_from_class_java.util.Map">
+<!--   -->
+</a>
+<h3>Nested classes/interfaces inherited from interface&nbsp;java.util.Map</h3>
+<code>java.util.Map.Entry&lt;K,V&gt;</code></li>
+</ul>
+</li>
+</ul>
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html#JavaUtils.SerializableMapWrapper(scala.collection.Map)">JavaUtils.SerializableMapWrapper</a></strong>(scala.collection.Map&lt;<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>&gt;&nbsp;underlying)</code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>java.util.Set&lt;java.util.Map.Entry&lt;<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>&gt;&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html#entrySet()">entrySet</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html#get(java.lang.Object)">get</a></strong>(Object&nbsp;key)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html#size()">size</a></strong>()</code>&nbsp;</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.util.AbstractMap">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.util.AbstractMap</h3>
+<code>clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, put, putAll, remove, toString, values</code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;Object</h3>
+<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="JavaUtils.SerializableMapWrapper(scala.collection.Map)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>JavaUtils.SerializableMapWrapper</h4>
+<pre>public&nbsp;JavaUtils.SerializableMapWrapper(scala.collection.Map&lt;<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>&gt;&nbsp;underlying)</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="size()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>size</h4>
+<pre>public&nbsp;int&nbsp;size()</pre>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code>size</code>&nbsp;in interface&nbsp;<code>java.util.Map&lt;<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>&gt;</code></dd>
+<dt><strong>Overrides:</strong></dt>
+<dd><code>size</code>&nbsp;in class&nbsp;<code>java.util.AbstractMap&lt;<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>&gt;</code></dd>
+</dl>
+</li>
+</ul>
+<a name="get(java.lang.Object)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>get</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>&nbsp;get(Object&nbsp;key)</pre>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code>get</code>&nbsp;in interface&nbsp;<code>java.util.Map&lt;<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>&gt;</code></dd>
+<dt><strong>Overrides:</strong></dt>
+<dd><code>get</code>&nbsp;in class&nbsp;<code>java.util.AbstractMap&lt;<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>&gt;</code></dd>
+</dl>
+</li>
+</ul>
+<a name="entrySet()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>entrySet</h4>
+<pre>public&nbsp;java.util.Set&lt;java.util.Map.Entry&lt;<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>&gt;&gt;&nbsp;entrySet()</pre>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code>entrySet</code>&nbsp;in interface&nbsp;<code>java.util.Map&lt;<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>&gt;</code></dd>
+<dt><strong>Specified by:</strong></dt>
+<dd><code>entrySet</code>&nbsp;in class&nbsp;<code>java.util.AbstractMap&lt;<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>&gt;</code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../org/apache/spark/api/java/JavaUtils.html" title="class in org.apache.spark.api.java"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" target="_top">Frames</a></li>
+<li><a href="JavaUtils.SerializableMapWrapper.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li><a href="#nested_classes_inherited_from_class_java.util.AbstractMap">Nested</a>&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<script defer="defer" type="text/javascript" src="../../../../../lib/jquery.js"></script><script defer="defer" type="text/javascript" src="../../../../../lib/api-javadocs.js"></script></body>
+</html>

http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/java/org/apache/spark/api/java/JavaUtils.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/java/org/apache/spark/api/java/JavaUtils.html b/site/docs/2.1.2/api/java/org/apache/spark/api/java/JavaUtils.html
new file mode 100644
index 0000000..db565e1
--- /dev/null
+++ b/site/docs/2.1.2/api/java/org/apache/spark/api/java/JavaUtils.html
@@ -0,0 +1,290 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (1.7.0_151) on Mon Oct 02 14:47:27 PDT 2017 -->
+<title>JavaUtils (Spark 2.1.2 JavaDoc)</title>
+<meta name="date" content="2017-10-02">
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="JavaUtils (Spark 2.1.2 JavaDoc)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../org/apache/spark/api/java/JavaSparkStatusTracker.html" title="class in org.apache.spark.api.java"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="class in org.apache.spark.api.java"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/spark/api/java/JavaUtils.html" target="_top">Frames</a></li>
+<li><a href="JavaUtils.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.spark.api.java</div>
+<h2 title="Class JavaUtils" class="title">Class JavaUtils</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li>Object</li>
+<li>
+<ul class="inheritance">
+<li>org.apache.spark.api.java.JavaUtils</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <span class="strong">JavaUtils</span>
+extends Object</pre>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="nested_class_summary">
+<!--   -->
+</a>
+<h3>Nested Class Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
+<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Class and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static class&nbsp;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="class in org.apache.spark.api.java">JavaUtils.SerializableMapWrapper</a>&lt;<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>&gt;</strong></code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaUtils.html#JavaUtils()">JavaUtils</a></strong>()</code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static &lt;A,B&gt;&nbsp;<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="class in org.apache.spark.api.java">JavaUtils.SerializableMapWrapper</a>&lt;A,B&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaUtils.html#mapAsSerializableJavaMap(scala.collection.Map)">mapAsSerializableJavaMap</a></strong>(scala.collection.Map&lt;A,B&gt;&nbsp;underlying)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a>&lt;T&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaUtils.html#optionToOptional(scala.Option)">optionToOptional</a></strong>(scala.Option&lt;T&gt;&nbsp;option)</code>&nbsp;</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;Object</h3>
+<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="JavaUtils()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>JavaUtils</h4>
+<pre>public&nbsp;JavaUtils()</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="optionToOptional(scala.Option)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>optionToOptional</h4>
+<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a>&lt;T&gt;&nbsp;optionToOptional(scala.Option&lt;T&gt;&nbsp;option)</pre>
+</li>
+</ul>
+<a name="mapAsSerializableJavaMap(scala.collection.Map)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>mapAsSerializableJavaMap</h4>
+<pre>public static&nbsp;&lt;A,B&gt;&nbsp;<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="class in org.apache.spark.api.java">JavaUtils.SerializableMapWrapper</a>&lt;A,B&gt;&nbsp;mapAsSerializableJavaMap(scala.collection.Map&lt;A,B&gt;&nbsp;underlying)</pre>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../org/apache/spark/api/java/JavaSparkStatusTracker.html" title="class in org.apache.spark.api.java"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="class in org.apache.spark.api.java"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/spark/api/java/JavaUtils.html" target="_top">Frames</a></li>
+<li><a href="JavaUtils.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<script defer="defer" type="text/javascript" src="../../../../../lib/jquery.js"></script><script defer="defer" type="text/javascript" src="../../../../../lib/api-javadocs.js"></script></body>
+</html>

http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/java/org/apache/spark/api/java/Optional.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/java/org/apache/spark/api/java/Optional.html b/site/docs/2.1.2/api/java/org/apache/spark/api/java/Optional.html
new file mode 100644
index 0000000..cc58ca1
--- /dev/null
+++ b/site/docs/2.1.2/api/java/org/apache/spark/api/java/Optional.html
@@ -0,0 +1,462 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (1.7.0_151) on Mon Oct 02 14:47:27 PDT 2017 -->
+<title>Optional (Spark 2.1.2 JavaDoc)</title>
+<meta name="date" content="2017-10-02">
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="Optional (Spark 2.1.2 JavaDoc)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="class in org.apache.spark.api.java"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../../org/apache/spark/api/java/StorageLevels.html" title="class in org.apache.spark.api.java"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/spark/api/java/Optional.html" target="_top">Frames</a></li>
+<li><a href="Optional.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.spark.api.java</div>
+<h2 title="Class Optional" class="title">Class Optional&lt;T&gt;</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li>Object</li>
+<li>
+<ul class="inheritance">
+<li>org.apache.spark.api.java.Optional&lt;T&gt;</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - type of value held inside</dd></dl>
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd>java.io.Serializable</dd>
+</dl>
+<hr>
+<br>
+<pre>public final class <span class="strong">Optional&lt;T&gt;</span>
+extends Object
+implements java.io.Serializable</pre>
+<div class="block"><p>Like <code>java.util.Optional</code> in Java 8, <code>scala.Option</code> in Scala, and
+ <code>com.google.common.base.Optional</code> in Google Guava, this class represents a
+ value of a given type that may or may not exist. It is used in methods that wish
+ to optionally return a value, in preference to returning <code>null</code>.</p>
+
+ <p>In fact, the class here is a reimplementation of the essential API of both
+ <code>java.util.Optional</code> and <code>com.google.common.base.Optional</code>. From
+ <code>java.util.Optional</code>, it implements:</p>
+
+ <ul>
+   <li><a href="../../../../../org/apache/spark/api/java/Optional.html#empty()"><code>empty()</code></a></li>
+   <li><a href="../../../../../org/apache/spark/api/java/Optional.html#of(T)"><code>of(Object)</code></a></li>
+   <li><a href="../../../../../org/apache/spark/api/java/Optional.html#ofNullable(T)"><code>ofNullable(Object)</code></a></li>
+   <li><a href="../../../../../org/apache/spark/api/java/Optional.html#get()"><code>get()</code></a></li>
+   <li><a href="../../../../../org/apache/spark/api/java/Optional.html#orElse(T)"><code>orElse(Object)</code></a></li>
+   <li><a href="../../../../../org/apache/spark/api/java/Optional.html#isPresent()"><code>isPresent()</code></a></li>
+ </ul>
+
+ <p>From <code>com.google.common.base.Optional</code> it implements:</p>
+
+ <ul>
+   <li><a href="../../../../../org/apache/spark/api/java/Optional.html#absent()"><code>absent()</code></a></li>
+   <li><a href="../../../../../org/apache/spark/api/java/Optional.html#of(T)"><code>of(Object)</code></a></li>
+   <li><a href="../../../../../org/apache/spark/api/java/Optional.html#fromNullable(T)"><code>fromNullable(Object)</code></a></li>
+   <li><a href="../../../../../org/apache/spark/api/java/Optional.html#get()"><code>get()</code></a></li>
+   <li><a href="../../../../../org/apache/spark/api/java/Optional.html#or(T)"><code>or(Object)</code></a></li>
+   <li><a href="../../../../../org/apache/spark/api/java/Optional.html#orNull()"><code>orNull()</code></a></li>
+   <li><a href="../../../../../org/apache/spark/api/java/Optional.html#isPresent()"><code>isPresent()</code></a></li>
+ </ul>
+
+ <p><code>java.util.Optional</code> itself is not used at this time because the
+ project does not require Java 8. Using <code>com.google.common.base.Optional</code>
+ has in the past caused serious library version conflicts with Guava that can't
+ be resolved by shading. Hence this work-alike clone.</p></div>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../serialized-form.html#org.apache.spark.api.java.Optional">Serialized Form</a></dd></dl>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a>&lt;T&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#absent()">absent</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a>&lt;T&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#empty()">empty</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#equals(java.lang.Object)">equals</a></strong>(Object&nbsp;obj)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a>&lt;T&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#fromNullable(T)">fromNullable</a></strong>(T&nbsp;value)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#get()">get</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#hashCode()">hashCode</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#isPresent()">isPresent</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a>&lt;T&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#of(T)">of</a></strong>(T&nbsp;value)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a>&lt;T&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#ofNullable(T)">ofNullable</a></strong>(T&nbsp;value)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#or(T)">or</a></strong>(<a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a>&nbsp;other)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#orElse(T)">orElse</a></strong>(<a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a>&nbsp;other)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#orNull()">orNull</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>String</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#toString()">toString</a></strong>()</code>&nbsp;</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;Object</h3>
+<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="empty()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>empty</h4>
+<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a>&lt;T&gt;&nbsp;empty()</pre>
+<dl><dt><span class="strong">Returns:</span></dt><dd>an empty <code>Optional</code></dd></dl>
+</li>
+</ul>
+<a name="of(java.lang.Object)">
+<!--   -->
+</a><a name="of(T)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>of</h4>
+<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a>&lt;T&gt;&nbsp;of(T&nbsp;value)</pre>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - non-null value to wrap</dd>
+<dt><span class="strong">Returns:</span></dt><dd><code>Optional</code> wrapping this value</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>NullPointerException</code> - if value is null</dd></dl>
+</li>
+</ul>
+<a name="ofNullable(java.lang.Object)">
+<!--   -->
+</a><a name="ofNullable(T)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>ofNullable</h4>
+<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a>&lt;T&gt;&nbsp;ofNullable(T&nbsp;value)</pre>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - value to wrap, which may be null</dd>
+<dt><span class="strong">Returns:</span></dt><dd><code>Optional</code> wrapping this value, which may be empty</dd></dl>
+</li>
+</ul>
+<a name="get()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>get</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a>&nbsp;get()</pre>
+<dl><dt><span class="strong">Returns:</span></dt><dd>the value wrapped by this <code>Optional</code></dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>NullPointerException</code> - if this is empty (contains no value)</dd></dl>
+</li>
+</ul>
+<a name="orElse(java.lang.Object)">
+<!--   -->
+</a><a name="orElse(T)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>orElse</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a>&nbsp;orElse(<a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a>&nbsp;other)</pre>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - value to return if this is empty</dd>
+<dt><span class="strong">Returns:</span></dt><dd>this <code>Optional</code>'s value if present, or else the given value</dd></dl>
+</li>
+</ul>
+<a name="isPresent()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isPresent</h4>
+<pre>public&nbsp;boolean&nbsp;isPresent()</pre>
+<dl><dt><span class="strong">Returns:</span></dt><dd>true iff this <code>Optional</code> contains a value (non-empty)</dd></dl>
+</li>
+</ul>
+<a name="absent()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>absent</h4>
+<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a>&lt;T&gt;&nbsp;absent()</pre>
+<dl><dt><span class="strong">Returns:</span></dt><dd>an empty <code>Optional</code></dd></dl>
+</li>
+</ul>
+<a name="fromNullable(java.lang.Object)">
+<!--   -->
+</a><a name="fromNullable(T)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>fromNullable</h4>
+<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a>&lt;T&gt;&nbsp;fromNullable(T&nbsp;value)</pre>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - value to wrap, which may be null</dd>
+<dt><span class="strong">Returns:</span></dt><dd><code>Optional</code> wrapping this value, which may be empty</dd></dl>
+</li>
+</ul>
+<a name="or(java.lang.Object)">
+<!--   -->
+</a><a name="or(T)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>or</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a>&nbsp;or(<a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a>&nbsp;other)</pre>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - value to return if this is empty</dd>
+<dt><span class="strong">Returns:</span></dt><dd>this <code>Optional</code>'s value if present, or else the given value</dd></dl>
+</li>
+</ul>
+<a name="orNull()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>orNull</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a>&nbsp;orNull()</pre>
+<dl><dt><span class="strong">Returns:</span></dt><dd>this <code>Optional</code>'s value if present, or else null</dd></dl>
+</li>
+</ul>
+<a name="equals(java.lang.Object)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>equals</h4>
+<pre>public&nbsp;boolean&nbsp;equals(Object&nbsp;obj)</pre>
+<dl>
+<dt><strong>Overrides:</strong></dt>
+<dd><code>equals</code>&nbsp;in class&nbsp;<code>Object</code></dd>
+</dl>
+</li>
+</ul>
+<a name="hashCode()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>hashCode</h4>
+<pre>public&nbsp;int&nbsp;hashCode()</pre>
+<dl>
+<dt><strong>Overrides:</strong></dt>
+<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>Object</code></dd>
+</dl>
+</li>
+</ul>
+<a name="toString()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public&nbsp;String&nbsp;toString()</pre>
+<dl>
+<dt><strong>Overrides:</strong></dt>
+<dd><code>toString</code>&nbsp;in class&nbsp;<code>Object</code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="class in org.apache.spark.api.java"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../../org/apache/spark/api/java/StorageLevels.html" title="class in org.apache.spark.api.java"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/spark/api/java/Optional.html" target="_top">Frames</a></li>
+<li><a href="Optional.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<script defer="defer" type="text/javascript" src="../../../../../lib/jquery.js"></script><script defer="defer" type="text/javascript" src="../../../../../lib/api-javadocs.js"></script></body>
+</html>

http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/java/org/apache/spark/api/java/StorageLevels.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/java/org/apache/spark/api/java/StorageLevels.html b/site/docs/2.1.2/api/java/org/apache/spark/api/java/StorageLevels.html
new file mode 100644
index 0000000..00cc6d5
--- /dev/null
+++ b/site/docs/2.1.2/api/java/org/apache/spark/api/java/StorageLevels.html
@@ -0,0 +1,450 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (1.7.0_151) on Mon Oct 02 14:47:27 PDT 2017 -->
+<title>StorageLevels (Spark 2.1.2 JavaDoc)</title>
+<meta name="date" content="2017-10-02">
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="StorageLevels (Spark 2.1.2 JavaDoc)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java"><span class="strong">Prev Class</span></a></li>
+<li>Next Class</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/spark/api/java/StorageLevels.html" target="_top">Frames</a></li>
+<li><a href="StorageLevels.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.spark.api.java</div>
+<h2 title="Class StorageLevels" class="title">Class StorageLevels</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li>Object</li>
+<li>
+<ul class="inheritance">
+<li>org.apache.spark.api.java.StorageLevels</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <span class="strong">StorageLevels</span>
+extends Object</pre>
+<div class="block">Expose some commonly useful storage level constants.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_summary">
+<!--   -->
+</a>
+<h3>Field Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
+<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Field and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/StorageLevels.html#DISK_ONLY">DISK_ONLY</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/StorageLevels.html#DISK_ONLY_2">DISK_ONLY_2</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/StorageLevels.html#MEMORY_AND_DISK">MEMORY_AND_DISK</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/StorageLevels.html#MEMORY_AND_DISK_2">MEMORY_AND_DISK_2</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/StorageLevels.html#MEMORY_AND_DISK_SER">MEMORY_AND_DISK_SER</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/StorageLevels.html#MEMORY_AND_DISK_SER_2">MEMORY_AND_DISK_SER_2</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/StorageLevels.html#MEMORY_ONLY">MEMORY_ONLY</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/StorageLevels.html#MEMORY_ONLY_2">MEMORY_ONLY_2</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/StorageLevels.html#MEMORY_ONLY_SER">MEMORY_ONLY_SER</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/StorageLevels.html#MEMORY_ONLY_SER_2">MEMORY_ONLY_SER_2</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/StorageLevels.html#NONE">NONE</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/StorageLevels.html#OFF_HEAP">OFF_HEAP</a></strong></code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../../../../../org/apache/spark/api/java/StorageLevels.html#StorageLevels()">StorageLevels</a></strong>()</code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/StorageLevels.html#create(boolean,%20boolean,%20boolean,%20boolean,%20int)">create</a></strong>(boolean&nbsp;useDisk,
+      boolean&nbsp;useMemory,
+      boolean&nbsp;useOffHeap,
+      boolean&nbsp;deserialized,
+      int&nbsp;replication)</code>
+<div class="block">Create a new StorageLevel object.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;Object</h3>
+<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ FIELD DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_detail">
+<!--   -->
+</a>
+<h3>Field Detail</h3>
+<a name="NONE">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>NONE</h4>
+<pre>public static final&nbsp;<a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> NONE</pre>
+</li>
+</ul>
+<a name="DISK_ONLY">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>DISK_ONLY</h4>
+<pre>public static final&nbsp;<a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> DISK_ONLY</pre>
+</li>
+</ul>
+<a name="DISK_ONLY_2">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>DISK_ONLY_2</h4>
+<pre>public static final&nbsp;<a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> DISK_ONLY_2</pre>
+</li>
+</ul>
+<a name="MEMORY_ONLY">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>MEMORY_ONLY</h4>
+<pre>public static final&nbsp;<a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_ONLY</pre>
+</li>
+</ul>
+<a name="MEMORY_ONLY_2">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>MEMORY_ONLY_2</h4>
+<pre>public static final&nbsp;<a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_ONLY_2</pre>
+</li>
+</ul>
+<a name="MEMORY_ONLY_SER">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>MEMORY_ONLY_SER</h4>
+<pre>public static final&nbsp;<a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_ONLY_SER</pre>
+</li>
+</ul>
+<a name="MEMORY_ONLY_SER_2">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>MEMORY_ONLY_SER_2</h4>
+<pre>public static final&nbsp;<a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_ONLY_SER_2</pre>
+</li>
+</ul>
+<a name="MEMORY_AND_DISK">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>MEMORY_AND_DISK</h4>
+<pre>public static final&nbsp;<a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_AND_DISK</pre>
+</li>
+</ul>
+<a name="MEMORY_AND_DISK_2">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>MEMORY_AND_DISK_2</h4>
+<pre>public static final&nbsp;<a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_AND_DISK_2</pre>
+</li>
+</ul>
+<a name="MEMORY_AND_DISK_SER">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>MEMORY_AND_DISK_SER</h4>
+<pre>public static final&nbsp;<a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_AND_DISK_SER</pre>
+</li>
+</ul>
+<a name="MEMORY_AND_DISK_SER_2">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>MEMORY_AND_DISK_SER_2</h4>
+<pre>public static final&nbsp;<a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_AND_DISK_SER_2</pre>
+</li>
+</ul>
+<a name="OFF_HEAP">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>OFF_HEAP</h4>
+<pre>public static final&nbsp;<a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> OFF_HEAP</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="StorageLevels()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>StorageLevels</h4>
+<pre>public&nbsp;StorageLevels()</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="create(boolean, boolean, boolean, boolean, int)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>create</h4>
+<pre>public static&nbsp;<a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a>&nbsp;create(boolean&nbsp;useDisk,
+                  boolean&nbsp;useMemory,
+                  boolean&nbsp;useOffHeap,
+                  boolean&nbsp;deserialized,
+                  int&nbsp;replication)</pre>
+<div class="block">Create a new StorageLevel object.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>useDisk</code> - saved to disk, if true</dd><dd><code>useMemory</code> - saved to on-heap memory, if true</dd><dd><code>useOffHeap</code> - saved to off-heap memory, if true</dd><dd><code>deserialized</code> - saved as deserialized objects, if true</dd><dd><code>replication</code> - replication factor</dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java"><span class="strong">Prev Class</span></a></li>
+<li>Next Class</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/spark/api/java/StorageLevels.html" target="_top">Frames</a></li>
+<li><a href="StorageLevels.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<script defer="defer" type="text/javascript" src="../../../../../lib/jquery.js"></script><script defer="defer" type="text/javascript" src="../../../../../lib/api-javadocs.js"></script></body>
+</html>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message