From 3bb2a8d7508b507edfcc21bd20912b0ff4a0a248 Mon Sep 17 00:00:00 2001 From: Herman van Hovell Date: Thu, 29 Oct 2015 15:11:00 +0100 Subject: [SPARK-11388][BUILD] Fix self closing tags. Java 8 javadoc does not like self closing tags: ```

```, ```
```, ... This PR fixes those. Author: Herman van Hovell Closes #9339 from hvanhovell/SPARK-11388. --- .../src/main/java/org/apache/spark/launcher/SparkAppHandle.java | 4 ++-- .../src/main/java/org/apache/spark/launcher/SparkLauncher.java | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'launcher/src') diff --git a/launcher/src/main/java/org/apache/spark/launcher/SparkAppHandle.java b/launcher/src/main/java/org/apache/spark/launcher/SparkAppHandle.java index 2896a91d5e..13dd9f1739 100644 --- a/launcher/src/main/java/org/apache/spark/launcher/SparkAppHandle.java +++ b/launcher/src/main/java/org/apache/spark/launcher/SparkAppHandle.java @@ -19,7 +19,7 @@ package org.apache.spark.launcher; /** * A handle to a running Spark application. - *

+ *

* Provides runtime information about the underlying Spark application, and actions to control it. * * @since 1.6.0 @@ -110,7 +110,7 @@ public interface SparkAppHandle { * Callback for changes in the handle's state. * * @param handle The updated handle. - * @see {@link SparkAppHandle#getState()} + * @see SparkAppHandle#getState() */ void stateChanged(SparkAppHandle handle); diff --git a/launcher/src/main/java/org/apache/spark/launcher/SparkLauncher.java b/launcher/src/main/java/org/apache/spark/launcher/SparkLauncher.java index 5d74b37033..dd1c93af6c 100644 --- a/launcher/src/main/java/org/apache/spark/launcher/SparkLauncher.java +++ b/launcher/src/main/java/org/apache/spark/launcher/SparkLauncher.java @@ -350,7 +350,7 @@ public class SparkLauncher { /** * Launches a sub-process that will start the configured Spark application. - *

+ *

* The {@link #startApplication(SparkAppHandle.Listener...)} method is preferred when launching * Spark, since it provides better control of the child application. * @@ -362,16 +362,16 @@ public class SparkLauncher { /** * Starts a Spark application. - *

+ *

* This method returns a handle that provides information about the running application and can * be used to do basic interaction with it. - *

+ *

* The returned handle assumes that the application will instantiate a single SparkContext * during its lifetime. Once that context reports a final state (one that indicates the * SparkContext has stopped), the handle will not perform new state transitions, so anything * that happens after that cannot be monitored. If the underlying application is launched as * a child process, {@link SparkAppHandle#kill()} can still be used to kill the child process. - *

+ *

* Currently, all applications are launched as child processes. The child's stdout and stderr * are merged and written to a logger (see java.util.logging). The logger's name * can be defined by setting {@link #CHILD_PROCESS_LOGGER_NAME} in the app's configuration. If -- cgit v1.2.3