From 3420ddd0f8278c4259435354138a0e046a9b0ac0 Mon Sep 17 00:00:00 2001 From: Giovanni Matteo Fumarola Date: Fri, 16 Nov 2018 10:13:41 -0800 Subject: [PATCH] HDDS-840. [JDK11] Fix Javadoc errors in hadoop-hdds-client module. Contributed by Dinesh Chitlangia. --- .../org/apache/hadoop/hdds/scm/XceiverClientRatis.java | 7 ------- .../hdds/scm/client/ContainerOperationClient.java | 10 +--------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientRatis.java b/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientRatis.java index dbda2e62114..f6083ec1854 100644 --- a/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientRatis.java +++ b/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientRatis.java @@ -97,9 +97,6 @@ public final class XceiverClientRatis extends XceiverClientSpi { this.retryPolicy = retryPolicy; } - /** - * {@inheritDoc} - */ @Override public void createPipeline() throws IOException { final RaftGroup group = RatisHelper.newRaftGroup(pipeline); @@ -108,9 +105,6 @@ public final class XceiverClientRatis extends XceiverClientSpi { (raftClient, peer) -> raftClient.groupAdd(group, peer.getId())); } - /** - * {@inheritDoc} - */ @Override public void destroyPipeline() throws IOException { final RaftGroup group = RatisHelper.newRaftGroup(pipeline); @@ -219,7 +213,6 @@ public final class XceiverClientRatis extends XceiverClientSpi { * * @param request Request * @return Response to the command - * @throws IOException */ @Override public XceiverClientAsyncReply sendCommandAsync( diff --git a/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/client/ContainerOperationClient.java b/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/client/ContainerOperationClient.java index 2bba7099de4..8e9f4ad642a 100644 --- a/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/client/ContainerOperationClient.java +++ b/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/client/ContainerOperationClient.java @@ -78,9 +78,7 @@ public class ContainerOperationClient implements ScmClient { containerSizeB = size; } - /** - * @inheritDoc - */ + @Override public ContainerWithPipeline createContainer(String owner) throws IOException { @@ -173,9 +171,6 @@ public class ContainerOperationClient implements ScmClient { pipeline.toString()); } - /** - * @inheritDoc - */ @Override public ContainerWithPipeline createContainer(HddsProtos.ReplicationType type, HddsProtos.ReplicationFactor factor, String owner) throws IOException { @@ -280,9 +275,6 @@ public class ContainerOperationClient implements ScmClient { deleteContainer(containerID, info.getPipeline(), force); } - /** - * {@inheritDoc} - */ @Override public List listContainer(long startContainerID, int count) throws IOException {