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

This commit is contained in:
Weiwei Yang 2018-10-24 18:02:45 +08:00
parent 1c0aae63a7
commit 553044818d
3 changed files with 8 additions and 2 deletions

View File

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

View File

@ -33,7 +33,7 @@ public interface CsiClient {
* Gets some basic info about the CSI plugin, including the driver name, * Gets some basic info about the CSI plugin, including the driver name,
* version and optionally some manifest info. * version and optionally some manifest info.
* @return {@link GetPluginInfoResponse} * @return {@link GetPluginInfoResponse}
* @throws IOException * @throws IOException when unable to get plugin info from the driver.
*/ */
GetPluginInfoResponse getPluginInfo() throws IOException; GetPluginInfoResponse getPluginInfo() throws IOException;
} }

View File

@ -89,7 +89,6 @@ public final class CsiGrpcClient implements AutoCloseable {
/** /**
* Shutdown the communication channel gracefully, * Shutdown the communication channel gracefully,
* wait for 5 seconds before it is enforced. * wait for 5 seconds before it is enforced.
* @throws InterruptedException
*/ */
@Override @Override
public void close() { public void close() {