You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2019/11/20 01:26:53 UTC

[GitHub] [hbase] Apache9 commented on a change in pull request #852: HBASE-23322 [hbck2] Simplification on HBCKSCP scheduling

Apache9 commented on a change in pull request #852: HBASE-23322 [hbck2] Simplification on HBCKSCP scheduling
URL: https://github.com/apache/hbase/pull/852#discussion_r348250931
 
 

 ##########
 File path: hbase-common/src/main/java/org/apache/hadoop/hbase/io/crypto/aes/AESDecryptor.java
 ##########
 @@ -83,10 +83,8 @@ public void reset() {
   }
 
   protected void init() {
+    Preconditions.checkState(iv != null, "IV is null");
 
 Review comment:
   IllegalState instead of NPE?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services