Browse Source

YARN-8939. Javadoc build fails in hadoop-yarn-csi. Contributed by Weiwei Yang.

Weiwei Yang 6 years ago
parent
commit
553044818d

+ 7 - 0
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml

@@ -204,6 +204,13 @@
                     </excludes>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <configuration>
+                    <excludePackageNames>csi.v0</excludePackageNames>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 </project>

+ 1 - 1
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;
 }

+ 0 - 1
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() {