diff --git a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/security/x509/certificate/authority/DefaultCAServer.java b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/security/x509/certificate/authority/DefaultCAServer.java index 54fb390726..a5147b34e2 100644 --- a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/security/x509/certificate/authority/DefaultCAServer.java +++ b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/security/x509/certificate/authority/DefaultCAServer.java @@ -246,8 +246,8 @@ public Future requestCertificate( return xcertHolder; } - private X509CertificateHolder signAndStoreCertificate(LocalDate beginDate, LocalDate endDate, - PKCS10CertificationRequest csr) throws IOException, + private X509CertificateHolder signAndStoreCertificate(LocalDate beginDate, + LocalDate endDate, PKCS10CertificationRequest csr) throws IOException, OperatorCreationException, CertificateException { X509CertificateHolder xcert = approver.sign(config, getCAKeys().getPrivate(), diff --git a/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/protocol/ClientProtocol.java b/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/protocol/ClientProtocol.java index 30958d12d0..e3a1acce6c 100644 --- a/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/protocol/ClientProtocol.java +++ b/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/protocol/ClientProtocol.java @@ -20,7 +20,6 @@ import com.google.common.annotations.VisibleForTesting; import org.apache.hadoop.hdds.protocol.StorageType; -import org.apache.hadoop.hdds.scm.ScmConfigKeys; import org.apache.hadoop.io.Text; import org.apache.hadoop.ozone.OzoneAcl; import org.apache.hadoop.ozone.client.*;