http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6155a89/site/docs/2.1.2/api/java/org/apache/spark/TaskKilled.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/java/org/apache/spark/TaskKilled.html b/site/docs/2.1.2/api/java/org/apache/spark/TaskKilled.html new file mode 100644 index 0000000..c547442 --- /dev/null +++ b/site/docs/2.1.2/api/java/org/apache/spark/TaskKilled.html @@ -0,0 +1,351 @@ +<!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:26 PDT 2017 --> +<title>TaskKilled (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="TaskKilled (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/TaskFailedReason.html" title="interface in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/TaskKilledException.html" title="class in org.apache.spark"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/TaskKilled.html" target="_top">Frames</a></li> +<li><a href="TaskKilled.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: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </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</div> +<h2 title="Class TaskKilled" class="title">Class TaskKilled</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.spark.TaskKilled</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="strong">TaskKilled</span> +extends Object</pre> +<div class="block">:: DeveloperApi :: + Task was killed intentionally and needs to be rescheduled.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== 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"> </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/TaskKilled.html#TaskKilled()">TaskKilled</a></strong>()</code> </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"> </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>abstract static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskKilled.html#canEqual(java.lang.Object)">canEqual</a></strong>(Object that)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskKilled.html#countTowardsTaskFailures()">countTowardsTaskFailures</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>abstract static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskKilled.html#equals(java.lang.Object)">equals</a></strong>(Object that)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>abstract static int</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskKilled.html#productArity()">productArity</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>abstract static Object</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskKilled.html#productElement(int)">productElement</a></strong>(int n)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static scala.collection.Iterator<Object></code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskKilled.html#productIterator()">productIterator</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static String</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskKilled.html#productPrefix()">productPrefix</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static String</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskKilled.html#toErrorString()">toErrorString</a></strong>()</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_Object"> +<!-- --> +</a> +<h3>Methods inherited from class 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="TaskKilled()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>TaskKilled</h4> +<pre>public TaskKilled()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="toErrorString()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>toErrorString</h4> +<pre>public static String toErrorString()</pre> +</li> +</ul> +<a name="countTowardsTaskFailures()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>countTowardsTaskFailures</h4> +<pre>public static boolean countTowardsTaskFailures()</pre> +</li> +</ul> +<a name="canEqual(java.lang.Object)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canEqual</h4> +<pre>public abstract static boolean canEqual(Object that)</pre> +</li> +</ul> +<a name="equals(java.lang.Object)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>equals</h4> +<pre>public abstract static boolean equals(Object that)</pre> +</li> +</ul> +<a name="productElement(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>productElement</h4> +<pre>public abstract static Object productElement(int n)</pre> +</li> +</ul> +<a name="productArity()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>productArity</h4> +<pre>public abstract static int productArity()</pre> +</li> +</ul> +<a name="productIterator()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>productIterator</h4> +<pre>public static scala.collection.Iterator<Object> productIterator()</pre> +</li> +</ul> +<a name="productPrefix()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>productPrefix</h4> +<pre>public static String productPrefix()</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/TaskFailedReason.html" title="interface in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/TaskKilledException.html" title="class in org.apache.spark"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/TaskKilled.html" target="_top">Frames</a></li> +<li><a href="TaskKilled.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: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </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/a6155a89/site/docs/2.1.2/api/java/org/apache/spark/TaskKilledException.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/java/org/apache/spark/TaskKilledException.html b/site/docs/2.1.2/api/java/org/apache/spark/TaskKilledException.html new file mode 100644 index 0000000..40b1e9f --- /dev/null +++ b/site/docs/2.1.2/api/java/org/apache/spark/TaskKilledException.html @@ -0,0 +1,259 @@ +<!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:26 PDT 2017 --> +<title>TaskKilledException (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="TaskKilledException (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/TaskKilled.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/TaskResultLost.html" title="class in org.apache.spark"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/TaskKilledException.html" target="_top">Frames</a></li> +<li><a href="TaskKilledException.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: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#methods_inherited_from_class_Throwable">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li>Method</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</div> +<h2 title="Class TaskKilledException" class="title">Class TaskKilledException</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>Object</li> +<li> +<ul class="inheritance"> +<li>Throwable</li> +<li> +<ul class="inheritance"> +<li>Exception</li> +<li> +<ul class="inheritance"> +<li>RuntimeException</li> +<li> +<ul class="inheritance"> +<li>org.apache.spark.TaskKilledException</li> +</ul> +</li> +</ul> +</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</dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">TaskKilledException</span> +extends RuntimeException</pre> +<div class="block">:: DeveloperApi :: + Exception thrown when a task is explicitly killed (i.e., task failure is expected).</div> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../serialized-form.html#org.apache.spark.TaskKilledException">Serialized Form</a></dd></dl> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== 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"> </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/TaskKilledException.html#TaskKilledException()">TaskKilledException</a></strong>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_Throwable"> +<!-- --> +</a> +<h3>Methods inherited from class Throwable</h3> +<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_Object"> +<!-- --> +</a> +<h3>Methods inherited from class Object</h3> +<code>equals, getClass, hashCode, 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="TaskKilledException()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>TaskKilledException</h4> +<pre>public TaskKilledException()</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/TaskKilled.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/TaskResultLost.html" title="class in org.apache.spark"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/TaskKilledException.html" target="_top">Frames</a></li> +<li><a href="TaskKilledException.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: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#methods_inherited_from_class_Throwable">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li>Method</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/a6155a89/site/docs/2.1.2/api/java/org/apache/spark/TaskResultLost.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/java/org/apache/spark/TaskResultLost.html b/site/docs/2.1.2/api/java/org/apache/spark/TaskResultLost.html new file mode 100644 index 0000000..04ed080 --- /dev/null +++ b/site/docs/2.1.2/api/java/org/apache/spark/TaskResultLost.html @@ -0,0 +1,352 @@ +<!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:26 PDT 2017 --> +<title>TaskResultLost (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="TaskResultLost (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/TaskKilledException.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/TaskSchedulerIsSet.html" title="class in org.apache.spark"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/TaskResultLost.html" target="_top">Frames</a></li> +<li><a href="TaskResultLost.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: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </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</div> +<h2 title="Class TaskResultLost" class="title">Class TaskResultLost</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.spark.TaskResultLost</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="strong">TaskResultLost</span> +extends Object</pre> +<div class="block">:: DeveloperApi :: + The task finished successfully, but the result was lost from the executor's block manager before + it was fetched.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== 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"> </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/TaskResultLost.html#TaskResultLost()">TaskResultLost</a></strong>()</code> </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"> </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>abstract static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskResultLost.html#canEqual(java.lang.Object)">canEqual</a></strong>(Object that)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskResultLost.html#countTowardsTaskFailures()">countTowardsTaskFailures</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>abstract static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskResultLost.html#equals(java.lang.Object)">equals</a></strong>(Object that)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>abstract static int</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskResultLost.html#productArity()">productArity</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>abstract static Object</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskResultLost.html#productElement(int)">productElement</a></strong>(int n)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static scala.collection.Iterator<Object></code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskResultLost.html#productIterator()">productIterator</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static String</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskResultLost.html#productPrefix()">productPrefix</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static String</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskResultLost.html#toErrorString()">toErrorString</a></strong>()</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_Object"> +<!-- --> +</a> +<h3>Methods inherited from class 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="TaskResultLost()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>TaskResultLost</h4> +<pre>public TaskResultLost()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="toErrorString()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>toErrorString</h4> +<pre>public static String toErrorString()</pre> +</li> +</ul> +<a name="countTowardsTaskFailures()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>countTowardsTaskFailures</h4> +<pre>public static boolean countTowardsTaskFailures()</pre> +</li> +</ul> +<a name="canEqual(java.lang.Object)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canEqual</h4> +<pre>public abstract static boolean canEqual(Object that)</pre> +</li> +</ul> +<a name="equals(java.lang.Object)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>equals</h4> +<pre>public abstract static boolean equals(Object that)</pre> +</li> +</ul> +<a name="productElement(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>productElement</h4> +<pre>public abstract static Object productElement(int n)</pre> +</li> +</ul> +<a name="productArity()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>productArity</h4> +<pre>public abstract static int productArity()</pre> +</li> +</ul> +<a name="productIterator()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>productIterator</h4> +<pre>public static scala.collection.Iterator<Object> productIterator()</pre> +</li> +</ul> +<a name="productPrefix()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>productPrefix</h4> +<pre>public static String productPrefix()</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/TaskKilledException.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/TaskSchedulerIsSet.html" title="class in org.apache.spark"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/TaskResultLost.html" target="_top">Frames</a></li> +<li><a href="TaskResultLost.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: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </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/a6155a89/site/docs/2.1.2/api/java/org/apache/spark/TaskSchedulerIsSet.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/java/org/apache/spark/TaskSchedulerIsSet.html b/site/docs/2.1.2/api/java/org/apache/spark/TaskSchedulerIsSet.html new file mode 100644 index 0000000..54b5d13 --- /dev/null +++ b/site/docs/2.1.2/api/java/org/apache/spark/TaskSchedulerIsSet.html @@ -0,0 +1,325 @@ +<!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:26 PDT 2017 --> +<title>TaskSchedulerIsSet (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="TaskSchedulerIsSet (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/TaskResultLost.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/TaskState.html" title="class in org.apache.spark"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/TaskSchedulerIsSet.html" target="_top">Frames</a></li> +<li><a href="TaskSchedulerIsSet.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: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </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</div> +<h2 title="Class TaskSchedulerIsSet" class="title">Class TaskSchedulerIsSet</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.spark.TaskSchedulerIsSet</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="strong">TaskSchedulerIsSet</span> +extends Object</pre> +<div class="block">An event that SparkContext uses to notify HeartbeatReceiver that SparkContext.taskScheduler is + created.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== 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"> </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/TaskSchedulerIsSet.html#TaskSchedulerIsSet()">TaskSchedulerIsSet</a></strong>()</code> </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"> </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>abstract static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskSchedulerIsSet.html#canEqual(java.lang.Object)">canEqual</a></strong>(Object that)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>abstract static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskSchedulerIsSet.html#equals(java.lang.Object)">equals</a></strong>(Object that)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>abstract static int</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskSchedulerIsSet.html#productArity()">productArity</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>abstract static Object</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskSchedulerIsSet.html#productElement(int)">productElement</a></strong>(int n)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static scala.collection.Iterator<Object></code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskSchedulerIsSet.html#productIterator()">productIterator</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static String</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskSchedulerIsSet.html#productPrefix()">productPrefix</a></strong>()</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_Object"> +<!-- --> +</a> +<h3>Methods inherited from class 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="TaskSchedulerIsSet()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>TaskSchedulerIsSet</h4> +<pre>public TaskSchedulerIsSet()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="canEqual(java.lang.Object)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canEqual</h4> +<pre>public abstract static boolean canEqual(Object that)</pre> +</li> +</ul> +<a name="equals(java.lang.Object)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>equals</h4> +<pre>public abstract static boolean equals(Object that)</pre> +</li> +</ul> +<a name="productElement(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>productElement</h4> +<pre>public abstract static Object productElement(int n)</pre> +</li> +</ul> +<a name="productArity()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>productArity</h4> +<pre>public abstract static int productArity()</pre> +</li> +</ul> +<a name="productIterator()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>productIterator</h4> +<pre>public static scala.collection.Iterator<Object> productIterator()</pre> +</li> +</ul> +<a name="productPrefix()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>productPrefix</h4> +<pre>public static String productPrefix()</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/TaskResultLost.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/TaskState.html" title="class in org.apache.spark"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/TaskSchedulerIsSet.html" target="_top">Frames</a></li> +<li><a href="TaskSchedulerIsSet.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: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </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/a6155a89/site/docs/2.1.2/api/java/org/apache/spark/TaskState.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/java/org/apache/spark/TaskState.html b/site/docs/2.1.2/api/java/org/apache/spark/TaskState.html new file mode 100644 index 0000000..f3593de --- /dev/null +++ b/site/docs/2.1.2/api/java/org/apache/spark/TaskState.html @@ -0,0 +1,414 @@ +<!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:26 PDT 2017 --> +<title>TaskState (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="TaskState (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/TaskSchedulerIsSet.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/TestUtils.html" title="class in org.apache.spark"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/TaskState.html" target="_top">Frames</a></li> +<li><a href="TaskState.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: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </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</div> +<h2 title="Class TaskState" class="title">Class TaskState</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.spark.TaskState</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="strong">TaskState</span> +extends Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== 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"> </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/TaskState.html#TaskState()">TaskState</a></strong>()</code> </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"> </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 scala.Enumeration.Value</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskState.html#apply(int)">apply</a></strong>(int x)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static scala.Enumeration.Value</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskState.html#FAILED()">FAILED</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static scala.Enumeration.Value</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskState.html#FINISHED()">FINISHED</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskState.html#isFailed(scala.Enumeration.Value)">isFailed</a></strong>(scala.Enumeration.Value state)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskState.html#isFinished(scala.Enumeration.Value)">isFinished</a></strong>(scala.Enumeration.Value state)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static scala.Enumeration.Value</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskState.html#KILLED()">KILLED</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static scala.Enumeration.Value</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskState.html#LAUNCHING()">LAUNCHING</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static scala.Enumeration.Value</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskState.html#LOST()">LOST</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskState.html#maxId()">maxId</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static scala.Enumeration.Value</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskState.html#RUNNING()">RUNNING</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static String</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskState.html#toString()">toString</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static scala.Enumeration.ValueSet</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskState.html#values()">values</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static scala.Enumeration.Value</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskState.html#withName(java.lang.String)">withName</a></strong>(String s)</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_Object"> +<!-- --> +</a> +<h3>Methods inherited from class 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="TaskState()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>TaskState</h4> +<pre>public TaskState()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="LAUNCHING()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>LAUNCHING</h4> +<pre>public static scala.Enumeration.Value LAUNCHING()</pre> +</li> +</ul> +<a name="RUNNING()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>RUNNING</h4> +<pre>public static scala.Enumeration.Value RUNNING()</pre> +</li> +</ul> +<a name="FINISHED()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>FINISHED</h4> +<pre>public static scala.Enumeration.Value FINISHED()</pre> +</li> +</ul> +<a name="FAILED()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>FAILED</h4> +<pre>public static scala.Enumeration.Value FAILED()</pre> +</li> +</ul> +<a name="KILLED()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>KILLED</h4> +<pre>public static scala.Enumeration.Value KILLED()</pre> +</li> +</ul> +<a name="LOST()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>LOST</h4> +<pre>public static scala.Enumeration.Value LOST()</pre> +</li> +</ul> +<a name="isFailed(scala.Enumeration.Value)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isFailed</h4> +<pre>public static boolean isFailed(scala.Enumeration.Value state)</pre> +</li> +</ul> +<a name="isFinished(scala.Enumeration.Value)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isFinished</h4> +<pre>public static boolean isFinished(scala.Enumeration.Value state)</pre> +</li> +</ul> +<a name="toString()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>toString</h4> +<pre>public static String toString()</pre> +</li> +</ul> +<a name="values()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>values</h4> +<pre>public static scala.Enumeration.ValueSet values()</pre> +</li> +</ul> +<a name="maxId()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>maxId</h4> +<pre>public static final int maxId()</pre> +</li> +</ul> +<a name="apply(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>apply</h4> +<pre>public static final scala.Enumeration.Value apply(int x)</pre> +</li> +</ul> +<a name="withName(java.lang.String)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>withName</h4> +<pre>public static final scala.Enumeration.Value withName(String s)</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/TaskSchedulerIsSet.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/TestUtils.html" title="class in org.apache.spark"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/TaskState.html" target="_top">Frames</a></li> +<li><a href="TaskState.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: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </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/a6155a89/site/docs/2.1.2/api/java/org/apache/spark/TestUtils.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/java/org/apache/spark/TestUtils.html b/site/docs/2.1.2/api/java/org/apache/spark/TestUtils.html new file mode 100644 index 0000000..dcddefb --- /dev/null +++ b/site/docs/2.1.2/api/java/org/apache/spark/TestUtils.html @@ -0,0 +1,455 @@ +<!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:26 PDT 2017 --> +<title>TestUtils (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="TestUtils (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/TaskState.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/UnknownReason.html" title="class in org.apache.spark"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/TestUtils.html" target="_top">Frames</a></li> +<li><a href="TestUtils.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: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </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</div> +<h2 title="Class TestUtils" class="title">Class TestUtils</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.spark.TestUtils</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="strong">TestUtils</span> +extends Object</pre> +<div class="block">Utilities for tests. Included in main codebase since it's used by multiple + projects. + <p> + TODO: See if we can move this to the test codebase by specifying + test dependencies between projects.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== 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"> </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/TestUtils.html#TestUtils()">TestUtils</a></strong>()</code> </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"> </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 <T> void</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TestUtils.html#assertNotSpilled(org.apache.spark.SparkContext,%20java.lang.String,%20scala.Function0)">assertNotSpilled</a></strong>(<a href="../../../org/apache/spark/SparkContext.html" title="class in org.apache.spark">SparkContext</a> sc, + String identifier, + scala.Function0<T> body)</code> +<div class="block">Run some code involving jobs submitted to the given context and assert that the jobs + did not spill.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <T> void</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TestUtils.html#assertSpilled(org.apache.spark.SparkContext,%20java.lang.String,%20scala.Function0)">assertSpilled</a></strong>(<a href="../../../org/apache/spark/SparkContext.html" title="class in org.apache.spark">SparkContext</a> sc, + String identifier, + scala.Function0<T> body)</code> +<div class="block">Run some code involving jobs submitted to the given context and assert that the jobs spilled.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.io.File</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TestUtils.html#createCompiledClass(java.lang.String,%20java.io.File,%20java.lang.String,%20java.lang.String,%20scala.collection.Seq)">createCompiledClass</a></strong>(String className, + java.io.File destDir, + String toStringValue, + String baseClass, + scala.collection.Seq<java.net.URL> classpathUrls)</code> +<div class="block">Creates a compiled class with the given name.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.io.File</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TestUtils.html#createCompiledClass(java.lang.String,%20java.io.File,%20org.apache.spark.TestUtils.JavaSourceFromString,%20scala.collection.Seq)">createCompiledClass</a></strong>(String className, + java.io.File destDir, + org.apache.spark.TestUtils.JavaSourceFromString sourceFile, + scala.collection.Seq<java.net.URL> classpathUrls)</code> +<div class="block">Creates a compiled class with the source file.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.net.URL</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TestUtils.html#createJar(scala.collection.Seq,%20java.io.File,%20scala.Option)">createJar</a></strong>(scala.collection.Seq<java.io.File> files, + java.io.File jarFile, + scala.Option<String> directoryPrefix)</code> +<div class="block">Create a jar file that contains this set of files.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.net.URL</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TestUtils.html#createJarWithClasses(scala.collection.Seq,%20java.lang.String,%20scala.collection.Seq,%20scala.collection.Seq)">createJarWithClasses</a></strong>(scala.collection.Seq<String> classNames, + String toStringValue, + scala.collection.Seq<scala.Tuple2<String,String>> classNamesWithBase, + scala.collection.Seq<java.net.URL> classpathUrls)</code> +<div class="block">Create a jar that defines classes with the given names.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.net.URL</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TestUtils.html#createJarWithFiles(scala.collection.immutable.Map,%20java.io.File)">createJarWithFiles</a></strong>(scala.collection.immutable.Map<String,String> files, + java.io.File dir)</code> +<div class="block">Create a jar file containing multiple files.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TestUtils.html#httpResponseCode(java.net.URL,%20java.lang.String,%20scala.collection.Seq)">httpResponseCode</a></strong>(java.net.URL url, + String method, + scala.collection.Seq<scala.Tuple2<String,String>> headers)</code> +<div class="block">Returns the response code from an HTTP(S) URL.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static scala.Tuple2<Object,scala.Option<String>></code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TestUtils.html#httpResponseCodeAndURL(java.net.URL,%20java.lang.String,%20scala.collection.Seq)">httpResponseCodeAndURL</a></strong>(java.net.URL url, + String method, + scala.collection.Seq<scala.Tuple2<String,String>> headers)</code> +<div class="block">Returns the response code and url (if redirected) from an HTTP(S) URL.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_Object"> +<!-- --> +</a> +<h3>Methods inherited from class 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="TestUtils()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>TestUtils</h4> +<pre>public TestUtils()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="createJarWithClasses(scala.collection.Seq, java.lang.String, scala.collection.Seq, scala.collection.Seq)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createJarWithClasses</h4> +<pre>public static java.net.URL createJarWithClasses(scala.collection.Seq<String> classNames, + String toStringValue, + scala.collection.Seq<scala.Tuple2<String,String>> classNamesWithBase, + scala.collection.Seq<java.net.URL> classpathUrls)</pre> +<div class="block">Create a jar that defines classes with the given names. + <p> + Note: if this is used during class loader tests, class names should be unique + in order to avoid interference between tests.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>classNames</code> - (undocumented)</dd><dd><code>toStringValue</code> - (undocumented)</dd><dd><code>classNamesWithBase</code> - (undocumented)</dd><dd><code>classpathUrls</code> - (undocumented)</dd> +<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl> +</li> +</ul> +<a name="createJarWithFiles(scala.collection.immutable.Map, java.io.File)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createJarWithFiles</h4> +<pre>public static java.net.URL createJarWithFiles(scala.collection.immutable.Map<String,String> files, + java.io.File dir)</pre> +<div class="block">Create a jar file containing multiple files. The <code>files</code> map contains a mapping of + file names in the jar file to their contents.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>files</code> - (undocumented)</dd><dd><code>dir</code> - (undocumented)</dd> +<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl> +</li> +</ul> +<a name="createJar(scala.collection.Seq, java.io.File, scala.Option)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createJar</h4> +<pre>public static java.net.URL createJar(scala.collection.Seq<java.io.File> files, + java.io.File jarFile, + scala.Option<String> directoryPrefix)</pre> +<div class="block">Create a jar file that contains this set of files. All files will be located in the specified + directory or at the root of the jar.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>files</code> - (undocumented)</dd><dd><code>jarFile</code> - (undocumented)</dd><dd><code>directoryPrefix</code> - (undocumented)</dd> +<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl> +</li> +</ul> +<a name="createCompiledClass(java.lang.String, java.io.File, org.apache.spark.TestUtils.JavaSourceFromString, scala.collection.Seq)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createCompiledClass</h4> +<pre>public static java.io.File createCompiledClass(String className, + java.io.File destDir, + org.apache.spark.TestUtils.JavaSourceFromString sourceFile, + scala.collection.Seq<java.net.URL> classpathUrls)</pre> +<div class="block">Creates a compiled class with the source file. Class file will be placed in destDir.</div> +</li> +</ul> +<a name="createCompiledClass(java.lang.String, java.io.File, java.lang.String, java.lang.String, scala.collection.Seq)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createCompiledClass</h4> +<pre>public static java.io.File createCompiledClass(String className, + java.io.File destDir, + String toStringValue, + String baseClass, + scala.collection.Seq<java.net.URL> classpathUrls)</pre> +<div class="block">Creates a compiled class with the given name. Class file will be placed in destDir.</div> +</li> +</ul> +<a name="assertSpilled(org.apache.spark.SparkContext, java.lang.String, scala.Function0)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>assertSpilled</h4> +<pre>public static <T> void assertSpilled(<a href="../../../org/apache/spark/SparkContext.html" title="class in org.apache.spark">SparkContext</a> sc, + String identifier, + scala.Function0<T> body)</pre> +<div class="block">Run some code involving jobs submitted to the given context and assert that the jobs spilled.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sc</code> - (undocumented)</dd><dd><code>identifier</code> - (undocumented)</dd><dd><code>body</code> - (undocumented)</dd></dl> +</li> +</ul> +<a name="assertNotSpilled(org.apache.spark.SparkContext, java.lang.String, scala.Function0)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>assertNotSpilled</h4> +<pre>public static <T> void assertNotSpilled(<a href="../../../org/apache/spark/SparkContext.html" title="class in org.apache.spark">SparkContext</a> sc, + String identifier, + scala.Function0<T> body)</pre> +<div class="block">Run some code involving jobs submitted to the given context and assert that the jobs + did not spill.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sc</code> - (undocumented)</dd><dd><code>identifier</code> - (undocumented)</dd><dd><code>body</code> - (undocumented)</dd></dl> +</li> +</ul> +<a name="httpResponseCodeAndURL(java.net.URL, java.lang.String, scala.collection.Seq)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>httpResponseCodeAndURL</h4> +<pre>public static scala.Tuple2<Object,scala.Option<String>> httpResponseCodeAndURL(java.net.URL url, + String method, + scala.collection.Seq<scala.Tuple2<String,String>> headers)</pre> +<div class="block">Returns the response code and url (if redirected) from an HTTP(S) URL.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>url</code> - (undocumented)</dd><dd><code>method</code> - (undocumented)</dd><dd><code>headers</code> - (undocumented)</dd> +<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl> +</li> +</ul> +<a name="httpResponseCode(java.net.URL, java.lang.String, scala.collection.Seq)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>httpResponseCode</h4> +<pre>public static int httpResponseCode(java.net.URL url, + String method, + scala.collection.Seq<scala.Tuple2<String,String>> headers)</pre> +<div class="block">Returns the response code from an HTTP(S) URL.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>url</code> - (undocumented)</dd><dd><code>method</code> - (undocumented)</dd><dd><code>headers</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/TaskState.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/UnknownReason.html" title="class in org.apache.spark"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/TestUtils.html" target="_top">Frames</a></li> +<li><a href="TestUtils.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: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </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-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org