From 553044818d4bfdf0bdbd9af6e3507c3346eb5c86 Mon Sep 17 00:00:00 2001 From: Weiwei Yang Date: Wed, 24 Oct 2018 18:02:45 +0800 Subject: [PATCH] YARN-8939. Javadoc build fails in hadoop-yarn-csi. Contributed by Weiwei Yang. --- hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml | 7 +++++++ .../java/org/apache/hadoop/yarn/csi/client/CsiClient.java | 2 +- .../org/apache/hadoop/yarn/csi/client/CsiGrpcClient.java | 1 - 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml index 702b63e0638..b58b0fea001 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml @@ -204,6 +204,13 @@ + + org.apache.maven.plugins + maven-javadoc-plugin + + csi.v0 + + \ No newline at end of file diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/src/main/java/org/apache/hadoop/yarn/csi/client/CsiClient.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/src/main/java/org/apache/hadoop/yarn/csi/client/CsiClient.java index 236754e89b0..5bb9ce94412 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/src/main/java/org/apache/hadoop/yarn/csi/client/CsiClient.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/src/main/java/org/apache/hadoop/yarn/csi/client/CsiClient.java @@ -33,7 +33,7 @@ public interface CsiClient { * Gets some basic info about the CSI plugin, including the driver name, * version and optionally some manifest info. * @return {@link GetPluginInfoResponse} - * @throws IOException + * @throws IOException when unable to get plugin info from the driver. */ GetPluginInfoResponse getPluginInfo() throws IOException; } diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/src/main/java/org/apache/hadoop/yarn/csi/client/CsiGrpcClient.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/src/main/java/org/apache/hadoop/yarn/csi/client/CsiGrpcClient.java index 862a423b083..5dc1b3f794a 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/src/main/java/org/apache/hadoop/yarn/csi/client/CsiGrpcClient.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/src/main/java/org/apache/hadoop/yarn/csi/client/CsiGrpcClient.java @@ -89,7 +89,6 @@ public final class CsiGrpcClient implements AutoCloseable { /** * Shutdown the communication channel gracefully, * wait for 5 seconds before it is enforced. - * @throws InterruptedException */ @Override public void close() {