diff --git a/hbase-build-configuration/pom.xml b/hbase-build-configuration/pom.xml
index 311b1c0394b..a617083e486 100644
--- a/hbase-build-configuration/pom.xml
+++ b/hbase-build-configuration/pom.xml
@@ -83,6 +83,7 @@
-XepDisableWarningsInGeneratedCode
-Xep:FallThrough:OFF
-Xep:ClassNewInstance:ERROR
+ -Xep:MissingDefault:ERROR
diff --git a/hbase-checkstyle/src/main/resources/hbase/checkstyle.xml b/hbase-checkstyle/src/main/resources/hbase/checkstyle.xml
index b61e79ba7ca..7ad797cf1f3 100644
--- a/hbase-checkstyle/src/main/resources/hbase/checkstyle.xml
+++ b/hbase-checkstyle/src/main/resources/hbase/checkstyle.xml
@@ -61,7 +61,6 @@
-