You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "0lai0 (via GitHub)" <gi...@apache.org> on 2025/11/10 11:48:33 UTC

[PR] HDDS-13903. Remove all MiniDFSCluster comments in tests [ozone]

0lai0 opened a new pull request, #9274:
URL: https://github.com/apache/ozone/pull/9274

   ## What changes were proposed in this pull request?
   
   ### File Breakdown by Category
   
   #### Ozone Manager (OM) Tests (8 files)
   * `TestOmAcls.java` - Replaced comment
   * `TestOmMetrics.java` - Deleted single-line comments
   * `TestOmInit.java` - Deleted single-line comment
   * `TestOzoneManagerHA.java` - Replaced comments
   * `TestOzoneManagerRestart.java` - Deleted single-line comment
   * `TestOzoneManagerRocksDBLogging.java` - Deleted single-line comment
   * `TestScmSafeMode.java` - Deleted single-line comment
   * `TestOMRatisSnapshots.java` - Deleted single-line comment
   
   #### OM Snapshot Tests (3 files)
   * `TestOmSnapshot.java` - Deleted single-line comment
   * `TestSnapshotBackgroundServices.java` - Deleted single-line comment
   * `TestOzoneManagerSnapshotProvider.java` - Deleted single-line comments
   
   #### Client RPC Tests (14 files)
   * All files: Deleted single-line Shutdown comments
   * `TestECKeyOutputStream.java` - Deleted Create and Shutdown comments
   
   #### Container Tests (2 files)
   * `TestECContainerRecovery.java` - Deleted Create and Shutdown comments
   * `TestCloseContainerByPipeline.java` - Deleted single-line comment
   
   #### Freon Tests (5 files)
   * All files: Deleted single-line Shutdown comments
   
   #### HDDS/SCM Tests (7 files)
   * All files: Deleted single-line Shutdown comments
   
   #### SCM Pipeline Tests (4 files)
   * All files: Deleted single-line Shutdown comments
   
   #### Shell Tests (1 file)
   * `TestTransferLeadershipShell.java` - Deleted single-line comment
   
   ## What is the link to the Apache JIRA
   
   [HDDS-13903](https://issues.apache.org/jira/projects/HDDS/issues/HDDS-13903)


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

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] HDDS-13903. Remove all MiniDFSCluster comments in tests [ozone]

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on code in PR #9274:
URL: https://github.com/apache/ozone/pull/9274#discussion_r2510272349


##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestCommitInRatis.java:
##########
@@ -63,7 +63,7 @@ public class TestCommitInRatis {
       storageContainerLocationClient;
 
   /**
-   * Create a MiniDFSCluster for testing.
+   * Create a MiniOzoneCluster for testing.
    * <p>
    * Ozone is made active by setting OZONE_ENABLED = true
    *

Review Comment:
   Please remove all comments like this.
   
   - `Create a MiniOzoneCluster for testing` does not add any value
   - `Ozone is made active by setting OZONE_ENABLED = true` is no longer true
   - `@throws ...` without description of when the exception is thrown is invalid; I don't think it's worth adding description either



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

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] HDDS-13903. Remove all MiniDFSCluster comments in tests [ozone]

Posted by "0lai0 (via GitHub)" <gi...@apache.org>.
0lai0 commented on PR #9274:
URL: https://github.com/apache/ozone/pull/9274#issuecomment-3511329814

   Sure, so I need to delete all of comments. I'll get to the revisions right away. Thanks.


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

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] HDDS-13903. Remove all MiniDFSCluster comments in tests [ozone]

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #9274:
URL: https://github.com/apache/ozone/pull/9274#issuecomment-3512202662

   Thanks @0lai0 for updating the patch.


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

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] HDDS-13903. Remove all MiniDFSCluster comments in tests [ozone]

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai merged PR #9274:
URL: https://github.com/apache/ozone/pull/9274


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

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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