busbey commented on a change in pull request #623: HBASE-22749: Distributed MOB 
compactions
URL: https://github.com/apache/hbase/pull/623#discussion_r325771858
 
 

 ##########
 File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java
 ##########
 @@ -342,6 +325,21 @@
 import 
org.apache.hadoop.hbase.shaded.protobuf.generated.ReplicationProtos.UpdateReplicationPeerConfigRequest;
 import 
org.apache.hadoop.hbase.shaded.protobuf.generated.ReplicationProtos.UpdateReplicationPeerConfigResponse;
 import 
org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription;
+import org.apache.hadoop.hbase.snapshot.ClientSnapshotDescriptionUtils;
 
 Review comment:
   please don't include unrelated formatting changes.
   
   this is also the wrong import order for our checkstyle rules. the 
o.a.h.h.shaded stuff is purposefully grouped later than other things.  for 
reference see the ImportOrder entry under 
`hbase-checkstyle/src/main/resources/hbase/checkstyle.xml`:
   
   ```
       <module name="ImportOrder">
         <property name="groups" 
value="*,org.apache.hbase.thirdparty,org.apache.hadoop.hbase.shaded"/>
         <property name="option" value="top" />
         <property name="ordered" value="true"/>
         <property name="sortStaticImportsAlphabetically" value="true"/>
       </module>
   ```
   
   Depending on what IDE you're using, I believe we have some helper configs in 
`dev-support` for getting things in line with what we check.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to