You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "errose28 (via GitHub)" <gi...@apache.org> on 2023/07/17 19:56:51 UTC

[GitHub] [ozone] errose28 commented on pull request #5061: HDDS-8961. Write a standalone tool to create a visual graph from compaction log files.

errose28 commented on PR #5061:
URL: https://github.com/apache/ozone/pull/5061#issuecomment-1638781980

   @hemantk-12 @smengcl @prashantpogde I think this PR was incorrectly merged with some existing problems:
   
   - Does this call need to go to the running OM, or can the compaction dag be read by the `ozone debug` process from disk state if run on the OM host? The later is how most Ozone debug calls work. Having a network call that generates a file on the server is strange, which brings me to my other concerns.
   
   - The PR was merged with an [existing security](https://github.com/apache/ozone/pull/5061#discussion_r1263077404) concern not addressed. This definitely needs to be restricted to admins since it could be invoked indefinitely to fill up the OM OS disk.
   
   - There is no regard for absolute or relative paths in the filename parameter. Either some server side handling or documentation in the help message should either handle this case or explain that the base path is fixed.
   
   - Help message does not specify that the image is created on the server side. Users may think the command is broken.
   
   - Response should include which OM generated the file. It will only exist on the OM who is the leader at the time the command was run.
   
   If this command can be made to run locally on an OM host without depending on the OM process then a lot of the above concerns should be addressed. Otherwise I think these will need to be fixed, preferably with high priority (especially the security concern). We have enough [tech debt](https://issues.apache.org/jira/browse/HDDS-8097) around Ozone troubleshooting, let's not add more.
   
   


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