You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2020/08/27 06:58:29 UTC

[GitHub] [hadoop] szetszwo commented on pull request #2233: HDFS-15500. In-order deletion of snapshots: Diff lists must be update only in the last snapshot

szetszwo commented on pull request #2233:
URL: https://github.com/apache/hadoop/pull/2233#issuecomment-681643051


   > ./hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java:1574:    assert assertsEnabled = true; // Intentional side effect!!!:27: Inner assignments should be avoided. [InnerAssignment]
   
   @bshashikant The checkstyle issue is intentional as stated in the comment.  That is the way to check if assert is enabled in the code.


----------------------------------------------------------------
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



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org