Attila Doroszlai created HDDS-9470:
--------------------------------------

             Summary: Improve thread names in Recon
                 Key: HDDS-9470
                 URL: https://issues.apache.org/jira/browse/HDDS-9470
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: Ozone Recon
            Reporter: Attila Doroszlai
            Assignee: Devesh Kumar Singh


HDDS-9334 added the ability to specify a prefix for threads created in 
common/framework code ({{EventQueue}}, {{BackgroundService}}, etc.). These are 
used by multiple components (SCM, OM, DN, Recon).

Goals of this task:
 * pass {{"Recon"}} as thread name prefix in Recon
 * ensure all other threads created in Recon code also include {{"Recon"}} in 
their name

Examples where prefix can be provided:

https://github.com/apache/ozone/blob/76c1747ac6a94693c6e3b170c982b6d6f0c270c8/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/scm/ReconStorageContainerManagerFacade.java#L176

https://github.com/apache/ozone/blob/76c1747ac6a94693c6e3b170c982b6d6f0c270c8/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/scm/ReconStorageContainerManagerFacade.java#L286

Example of other thread in Recon:

https://github.com/apache/ozone/blob/76c1747ac6a94693c6e3b170c982b6d6f0c270c8/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/tasks/ReconTaskControllerImpl.java#L222



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to