From 2778259b88246359bcdb03496568e0a7f45da391 Mon Sep 17 00:00:00 2001 From: Xiaoyu Yao Date: Tue, 12 Mar 2019 09:34:18 -0700 Subject: [PATCH] HDDS-1253. Fix checkstyle issue from Nightly run. Contributed by Xiaoyu Yao. (#593) Closes PR #593 --- .../security/x509/certificate/authority/DefaultCAServer.java | 4 ++-- .../apache/hadoop/ozone/client/protocol/ClientProtocol.java | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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.*;