http://git-wip-us.apache.org/repos/asf/spark-website/blob/0b563c84/site/docs/2.1.2/api/java/org/apache/spark/StopMapOutputTracker.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/java/org/apache/spark/StopMapOutputTracker.html b/site/docs/2.1.2/api/java/org/apache/spark/StopMapOutputTracker.html new file mode 100644 index 0000000..ffb5849 --- /dev/null +++ b/site/docs/2.1.2/api/java/org/apache/spark/StopMapOutputTracker.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:26 PDT 2017 --> +<title>StopMapOutputTracker (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="StopMapOutputTracker (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/SpillListener.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/Success.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/StopMapOutputTracker.html" target="_top">Frames</a></li> +<li><a href="StopMapOutputTracker.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 StopMapOutputTracker" class="title">Class StopMapOutputTracker</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.spark.StopMapOutputTracker</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="strong">StopMapOutputTracker</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/StopMapOutputTracker.html#StopMapOutputTracker()">StopMapOutputTracker</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/StopMapOutputTracker.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/StopMapOutputTracker.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/StopMapOutputTracker.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/StopMapOutputTracker.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/StopMapOutputTracker.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/StopMapOutputTracker.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="StopMapOutputTracker()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>StopMapOutputTracker</h4> +<pre>public StopMapOutputTracker()</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/SpillListener.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/Success.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/StopMapOutputTracker.html" target="_top">Frames</a></li> +<li><a href="StopMapOutputTracker.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/0b563c84/site/docs/2.1.2/api/java/org/apache/spark/Success.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/java/org/apache/spark/Success.html b/site/docs/2.1.2/api/java/org/apache/spark/Success.html new file mode 100644 index 0000000..830b4d8 --- /dev/null +++ b/site/docs/2.1.2/api/java/org/apache/spark/Success.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>Success (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="Success (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/StopMapOutputTracker.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/TaskCommitDenied.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/Success.html" target="_top">Frames</a></li> +<li><a href="Success.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 Success" class="title">Class Success</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.spark.Success</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="strong">Success</span> +extends Object</pre> +<div class="block">:: DeveloperApi :: + Task succeeded.</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/Success.html#Success()">Success</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/Success.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/Success.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/Success.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/Success.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/Success.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/Success.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="Success()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>Success</h4> +<pre>public Success()</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/StopMapOutputTracker.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/TaskCommitDenied.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/Success.html" target="_top">Frames</a></li> +<li><a href="Success.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/0b563c84/site/docs/2.1.2/api/java/org/apache/spark/TaskCommitDenied.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/java/org/apache/spark/TaskCommitDenied.html b/site/docs/2.1.2/api/java/org/apache/spark/TaskCommitDenied.html new file mode 100644 index 0000000..1b276f7 --- /dev/null +++ b/site/docs/2.1.2/api/java/org/apache/spark/TaskCommitDenied.html @@ -0,0 +1,432 @@ +<!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>TaskCommitDenied (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="TaskCommitDenied (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/Success.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/TaskContext.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/TaskCommitDenied.html" target="_top">Frames</a></li> +<li><a href="TaskCommitDenied.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 TaskCommitDenied" class="title">Class TaskCommitDenied</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.spark.TaskCommitDenied</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd>java.io.Serializable, <a href="../../../org/apache/spark/TaskEndReason.html" title="interface in org.apache.spark">TaskEndReason</a>, <a href="../../../org/apache/spark/TaskFailedReason.html" title="interface in org.apache.spark">TaskFailedReason</a>, scala.Equals, scala.Product</dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">TaskCommitDenied</span> +extends Object +implements <a href="../../../org/apache/spark/TaskFailedReason.html" title="interface in org.apache.spark">TaskFailedReason</a>, scala.Product, scala.Serializable</pre> +<div class="block">:: DeveloperApi :: + Task requested the driver to commit, but was denied.</div> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../serialized-form.html#org.apache.spark.TaskCommitDenied">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/TaskCommitDenied.html#TaskCommitDenied(int,%20int,%20int)">TaskCommitDenied</a></strong>(int jobID, + int partitionID, + int attemptNumber)</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>int</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskCommitDenied.html#attemptNumber()">attemptNumber</a></strong>()</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/TaskCommitDenied.html#canEqual(java.lang.Object)">canEqual</a></strong>(Object that)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskCommitDenied.html#countTowardsTaskFailures()">countTowardsTaskFailures</a></strong>()</code> +<div class="block">If a task failed because its attempt to commit was denied, do not count this failure + towards failing the stage.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>abstract static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskCommitDenied.html#equals(java.lang.Object)">equals</a></strong>(Object that)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskCommitDenied.html#jobID()">jobID</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskCommitDenied.html#partitionID()">partitionID</a></strong>()</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/TaskCommitDenied.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/TaskCommitDenied.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/TaskCommitDenied.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/TaskCommitDenied.html#productPrefix()">productPrefix</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>String</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskCommitDenied.html#toErrorString()">toErrorString</a></strong>()</code> +<div class="block">Error message displayed in the web UI.</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> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_scala.Product"> +<!-- --> +</a> +<h3>Methods inherited from interface scala.Product</h3> +<code>productArity, productElement, productIterator, productPrefix</code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_scala.Equals"> +<!-- --> +</a> +<h3>Methods inherited from interface scala.Equals</h3> +<code>canEqual, equals</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="TaskCommitDenied(int, int, int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>TaskCommitDenied</h4> +<pre>public TaskCommitDenied(int jobID, + int partitionID, + int attemptNumber)</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="blockList"> +<li class="blockList"> +<h4>productPrefix</h4> +<pre>public static String productPrefix()</pre> +</li> +</ul> +<a name="jobID()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>jobID</h4> +<pre>public int jobID()</pre> +</li> +</ul> +<a name="partitionID()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>partitionID</h4> +<pre>public int partitionID()</pre> +</li> +</ul> +<a name="attemptNumber()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>attemptNumber</h4> +<pre>public int attemptNumber()</pre> +</li> +</ul> +<a name="toErrorString()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>toErrorString</h4> +<pre>public String toErrorString()</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../org/apache/spark/TaskFailedReason.html#toErrorString()">TaskFailedReason</a></code></strong></div> +<div class="block">Error message displayed in the web UI.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../org/apache/spark/TaskFailedReason.html#toErrorString()">toErrorString</a></code> in interface <code><a href="../../../org/apache/spark/TaskFailedReason.html" title="interface in org.apache.spark">TaskFailedReason</a></code></dd> +</dl> +</li> +</ul> +<a name="countTowardsTaskFailures()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>countTowardsTaskFailures</h4> +<pre>public boolean countTowardsTaskFailures()</pre> +<div class="block">If a task failed because its attempt to commit was denied, do not count this failure + towards failing the stage. This is intended to prevent spurious stage failures in cases + where many speculative tasks are launched and denied to commit.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../org/apache/spark/TaskFailedReason.html#countTowardsTaskFailures()">countTowardsTaskFailures</a></code> in interface <code><a href="../../../org/apache/spark/TaskFailedReason.html" title="interface in org.apache.spark">TaskFailedReason</a></code></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/Success.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/TaskContext.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/TaskCommitDenied.html" target="_top">Frames</a></li> +<li><a href="TaskCommitDenied.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/0b563c84/site/docs/2.1.2/api/java/org/apache/spark/TaskContext.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/java/org/apache/spark/TaskContext.html b/site/docs/2.1.2/api/java/org/apache/spark/TaskContext.html new file mode 100644 index 0000000..b050e5a --- /dev/null +++ b/site/docs/2.1.2/api/java/org/apache/spark/TaskContext.html @@ -0,0 +1,553 @@ +<!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>TaskContext (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="TaskContext (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/TaskCommitDenied.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/TaskEndReason.html" title="interface in org.apache.spark"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/TaskContext.html" target="_top">Frames</a></li> +<li><a href="TaskContext.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 TaskContext" class="title">Class TaskContext</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.spark.TaskContext</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 abstract class <span class="strong">TaskContext</span> +extends Object +implements java.io.Serializable</pre> +<div class="block">Contextual information about a task which can be read or mutated during + execution. To access the TaskContext for a running task, use: + <pre><code> + org.apache.spark.TaskContext.get() + </code></pre></div> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../serialized-form.html#org.apache.spark.TaskContext">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/TaskContext.html#TaskContext()">TaskContext</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><a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a></code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskContext.html#addTaskCompletionListener(scala.Function1)">addTaskCompletionListener</a></strong>(scala.Function1<<a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a>,scala.runtime.BoxedUnit> f)</code> +<div class="block">Adds a listener in the form of a Scala closure to be executed on task completion.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>abstract <a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a></code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskContext.html#addTaskCompletionListener(org.apache.spark.util.TaskCompletionListener)">addTaskCompletionListener</a></strong>(<a href="../../../org/apache/spark/util/TaskCompletionListener.html" title="interface in org.apache.spark.util">TaskCompletionListener</a> listener)</code> +<div class="block">Adds a (Java friendly) listener to be executed on task completion.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a></code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskContext.html#addTaskFailureListener(scala.Function2)">addTaskFailureListener</a></strong>(scala.Function2<<a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a>,Throwable,scala.runtime.BoxedUnit> f)</code> +<div class="block">Adds a listener to be executed on task failure.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>abstract <a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a></code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskContext.html#addTaskFailureListener(org.apache.spark.util.TaskFailureListener)">addTaskFailureListener</a></strong>(<a href="../../../org/apache/spark/util/TaskFailureListener.html" title="interface in org.apache.spark.util">TaskFailureListener</a> listener)</code> +<div class="block">Adds a listener to be executed on task failure.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>abstract int</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskContext.html#attemptNumber()">attemptNumber</a></strong>()</code> +<div class="block">How many times this task has been attempted.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a></code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskContext.html#get()">get</a></strong>()</code> +<div class="block">Return the currently active TaskContext.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>abstract String</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskContext.html#getLocalProperty(java.lang.String)">getLocalProperty</a></strong>(String key)</code> +<div class="block">Get a local property set upstream in the driver, or null if it is missing.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>abstract scala.collection.Seq<org.apache.spark.metrics.source.Source></code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskContext.html#getMetricsSources(java.lang.String)">getMetricsSources</a></strong>(String sourceName)</code> +<div class="block">::DeveloperApi:: + Returns all metrics sources with the given name which are associated with the instance + which runs the task.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskContext.html#getPartitionId()">getPartitionId</a></strong>()</code> +<div class="block">Returns the partition id of currently active TaskContext.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>abstract boolean</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskContext.html#isCompleted()">isCompleted</a></strong>()</code> +<div class="block">Returns true if the task has completed.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>abstract boolean</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskContext.html#isInterrupted()">isInterrupted</a></strong>()</code> +<div class="block">Returns true if the task has been killed.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>abstract boolean</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskContext.html#isRunningLocally()">isRunningLocally</a></strong>()</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>Local execution was removed, so this always returns false. Since 2.0.0.</i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>abstract int</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskContext.html#partitionId()">partitionId</a></strong>()</code> +<div class="block">The ID of the RDD partition that is computed by this task.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>abstract int</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskContext.html#stageId()">stageId</a></strong>()</code> +<div class="block">The ID of the stage that this task belong to.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>abstract long</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskContext.html#taskAttemptId()">taskAttemptId</a></strong>()</code> +<div class="block">An ID that is unique to this task attempt (within the same SparkContext, no two task attempts + will share the same attempt ID).</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>abstract org.apache.spark.executor.TaskMetrics</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskContext.html#taskMetrics()">taskMetrics</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="TaskContext()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>TaskContext</h4> +<pre>public TaskContext()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="get()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>get</h4> +<pre>public static <a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a> get()</pre> +<div class="block">Return the currently active TaskContext. This can be called inside of + user functions to access contextual information about running tasks.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl> +</li> +</ul> +<a name="getPartitionId()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getPartitionId</h4> +<pre>public static int getPartitionId()</pre> +<div class="block">Returns the partition id of currently active TaskContext. It will return 0 + if there is no active TaskContext for cases like local execution.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl> +</li> +</ul> +<a name="isCompleted()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isCompleted</h4> +<pre>public abstract boolean isCompleted()</pre> +<div class="block">Returns true if the task has completed.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl> +</li> +</ul> +<a name="isInterrupted()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isInterrupted</h4> +<pre>public abstract boolean isInterrupted()</pre> +<div class="block">Returns true if the task has been killed.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl> +</li> +</ul> +<a name="isRunningLocally()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isRunningLocally</h4> +<pre>public abstract boolean isRunningLocally()</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>Local execution was removed, so this always returns false. Since 2.0.0.</i></div> +<div class="block">Returns true if the task is running locally in the driver program.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>false</dd></dl> +</li> +</ul> +<a name="addTaskCompletionListener(org.apache.spark.util.TaskCompletionListener)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addTaskCompletionListener</h4> +<pre>public abstract <a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a> addTaskCompletionListener(<a href="../../../org/apache/spark/util/TaskCompletionListener.html" title="interface in org.apache.spark.util">TaskCompletionListener</a> listener)</pre> +<div class="block">Adds a (Java friendly) listener to be executed on task completion. + This will be called in all situation - success, failure, or cancellation. + An example use is for HadoopRDD to register a callback to close the input stream. + <p> + Exceptions thrown by the listener will result in failure of the task.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>listener</code> - (undocumented)</dd> +<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl> +</li> +</ul> +<a name="addTaskCompletionListener(scala.Function1)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addTaskCompletionListener</h4> +<pre>public <a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a> addTaskCompletionListener(scala.Function1<<a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a>,scala.runtime.BoxedUnit> f)</pre> +<div class="block">Adds a listener in the form of a Scala closure to be executed on task completion. + This will be called in all situations - success, failure, or cancellation. + An example use is for HadoopRDD to register a callback to close the input stream. + <p> + Exceptions thrown by the listener will result in failure of the task.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd> +<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl> +</li> +</ul> +<a name="addTaskFailureListener(org.apache.spark.util.TaskFailureListener)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addTaskFailureListener</h4> +<pre>public abstract <a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a> addTaskFailureListener(<a href="../../../org/apache/spark/util/TaskFailureListener.html" title="interface in org.apache.spark.util">TaskFailureListener</a> listener)</pre> +<div class="block">Adds a listener to be executed on task failure. + Operations defined here must be idempotent, as <code>onTaskFailure</code> can be called multiple times.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>listener</code> - (undocumented)</dd> +<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl> +</li> +</ul> +<a name="addTaskFailureListener(scala.Function2)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addTaskFailureListener</h4> +<pre>public <a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a> addTaskFailureListener(scala.Function2<<a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a>,Throwable,scala.runtime.BoxedUnit> f)</pre> +<div class="block">Adds a listener to be executed on task failure. + Operations defined here must be idempotent, as <code>onTaskFailure</code> can be called multiple times.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd> +<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl> +</li> +</ul> +<a name="stageId()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>stageId</h4> +<pre>public abstract int stageId()</pre> +<div class="block">The ID of the stage that this task belong to.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl> +</li> +</ul> +<a name="partitionId()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>partitionId</h4> +<pre>public abstract int partitionId()</pre> +<div class="block">The ID of the RDD partition that is computed by this task.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl> +</li> +</ul> +<a name="attemptNumber()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>attemptNumber</h4> +<pre>public abstract int attemptNumber()</pre> +<div class="block">How many times this task has been attempted. The first task attempt will be assigned + attemptNumber = 0, and subsequent attempts will have increasing attempt numbers.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl> +</li> +</ul> +<a name="taskAttemptId()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>taskAttemptId</h4> +<pre>public abstract long taskAttemptId()</pre> +<div class="block">An ID that is unique to this task attempt (within the same SparkContext, no two task attempts + will share the same attempt ID). This is roughly equivalent to Hadoop's TaskAttemptID.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl> +</li> +</ul> +<a name="getLocalProperty(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLocalProperty</h4> +<pre>public abstract String getLocalProperty(String key)</pre> +<div class="block">Get a local property set upstream in the driver, or null if it is missing. See also + <code>org.apache.spark.SparkContext.setLocalProperty</code>.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - (undocumented)</dd> +<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl> +</li> +</ul> +<a name="taskMetrics()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>taskMetrics</h4> +<pre>public abstract org.apache.spark.executor.TaskMetrics taskMetrics()</pre> +</li> +</ul> +<a name="getMetricsSources(java.lang.String)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getMetricsSources</h4> +<pre>public abstract scala.collection.Seq<org.apache.spark.metrics.source.Source> getMetricsSources(String sourceName)</pre> +<div class="block">::DeveloperApi:: + Returns all metrics sources with the given name which are associated with the instance + which runs the task. For more information see <code>org.apache.spark.metrics.MetricsSystem</code>.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sourceName</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/TaskCommitDenied.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/TaskEndReason.html" title="interface in org.apache.spark"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/TaskContext.html" target="_top">Frames</a></li> +<li><a href="TaskContext.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/0b563c84/site/docs/2.1.2/api/java/org/apache/spark/TaskEndReason.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/java/org/apache/spark/TaskEndReason.html b/site/docs/2.1.2/api/java/org/apache/spark/TaskEndReason.html new file mode 100644 index 0000000..1e804ee --- /dev/null +++ b/site/docs/2.1.2/api/java/org/apache/spark/TaskEndReason.html @@ -0,0 +1,172 @@ +<!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>TaskEndReason (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="TaskEndReason (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/TaskContext.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/TaskFailedReason.html" title="interface in org.apache.spark"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/TaskEndReason.html" target="_top">Frames</a></li> +<li><a href="TaskEndReason.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>Constr | </li> +<li>Method</li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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="Interface TaskEndReason" class="title">Interface TaskEndReason</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Known Subinterfaces:</dt> +<dd><a href="../../../org/apache/spark/TaskFailedReason.html" title="interface in org.apache.spark">TaskFailedReason</a></dd> +</dl> +<dl> +<dt>All Known Implementing Classes:</dt> +<dd><a href="../../../org/apache/spark/ExceptionFailure.html" title="class in org.apache.spark">ExceptionFailure</a>, <a href="../../../org/apache/spark/ExecutorLostFailure.html" title="class in org.apache.spark">ExecutorLostFailure</a>, <a href="../../../org/apache/spark/FetchFailed.html" title="class in org.apache.spark">FetchFailed</a>, <a href="../../../org/apache/spark/TaskCommitDenied.html" title="class in org.apache.spark">TaskCommitDenied</a></dd> +</dl> +<hr> +<br> +<pre>public interface <span class="strong">TaskEndReason</span></pre> +<div class="block">:: DeveloperApi :: + Various possible reasons why a task ended. The low-level TaskScheduler is supposed to retry + tasks several times for "ephemeral" failures, and only report back failures that require some + old stages to be resubmitted, such as shuffle map fetch failures.</div> +</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/TaskContext.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/TaskFailedReason.html" title="interface in org.apache.spark"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/TaskEndReason.html" target="_top">Frames</a></li> +<li><a href="TaskEndReason.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>Constr | </li> +<li>Method</li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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/0b563c84/site/docs/2.1.2/api/java/org/apache/spark/TaskFailedReason.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/java/org/apache/spark/TaskFailedReason.html b/site/docs/2.1.2/api/java/org/apache/spark/TaskFailedReason.html new file mode 100644 index 0000000..015fb83 --- /dev/null +++ b/site/docs/2.1.2/api/java/org/apache/spark/TaskFailedReason.html @@ -0,0 +1,243 @@ +<!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>TaskFailedReason (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="TaskFailedReason (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/TaskEndReason.html" title="interface in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/TaskKilled.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/TaskFailedReason.html" target="_top">Frames</a></li> +<li><a href="TaskFailedReason.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>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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="Interface TaskFailedReason" class="title">Interface TaskFailedReason</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Superinterfaces:</dt> +<dd><a href="../../../org/apache/spark/TaskEndReason.html" title="interface in org.apache.spark">TaskEndReason</a></dd> +</dl> +<dl> +<dt>All Known Implementing Classes:</dt> +<dd><a href="../../../org/apache/spark/ExceptionFailure.html" title="class in org.apache.spark">ExceptionFailure</a>, <a href="../../../org/apache/spark/ExecutorLostFailure.html" title="class in org.apache.spark">ExecutorLostFailure</a>, <a href="../../../org/apache/spark/FetchFailed.html" title="class in org.apache.spark">FetchFailed</a>, <a href="../../../org/apache/spark/TaskCommitDenied.html" title="class in org.apache.spark">TaskCommitDenied</a></dd> +</dl> +<hr> +<br> +<pre>public interface <span class="strong">TaskFailedReason</span> +extends <a href="../../../org/apache/spark/TaskEndReason.html" title="interface in org.apache.spark">TaskEndReason</a></pre> +<div class="block">:: DeveloperApi :: + Various possible reasons why a task failed.</div> +</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"> </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>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskFailedReason.html#countTowardsTaskFailures()">countTowardsTaskFailures</a></strong>()</code> +<div class="block">Whether this task failure should be counted towards the maximum number of times the task is + allowed to fail before the stage is aborted.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>String</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/spark/TaskFailedReason.html#toErrorString()">toErrorString</a></strong>()</code> +<div class="block">Error message displayed in the web UI.</div> +</td> +</tr> +</table> +</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="toErrorString()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>toErrorString</h4> +<pre>String toErrorString()</pre> +<div class="block">Error message displayed in the web UI.</div> +</li> +</ul> +<a name="countTowardsTaskFailures()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>countTowardsTaskFailures</h4> +<pre>boolean countTowardsTaskFailures()</pre> +<div class="block">Whether this task failure should be counted towards the maximum number of times the task is + allowed to fail before the stage is aborted. Set to false in cases where the task's failure + was unrelated to the task; for example, if the task failed because the executor it was running + on was killed.</div> +<dl><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/TaskEndReason.html" title="interface in org.apache.spark"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/TaskKilled.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/TaskFailedReason.html" target="_top">Frames</a></li> +<li><a href="TaskFailedReason.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>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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