[
https://issues.apache.org/jira/browse/HDDS-12581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashish Kumar resolved HDDS-12581.
---------------------------------
Fix Version/s: 2.1.0
Resolution: Implemented
> Multi-threaded Log File Parsing with Batch Updates to DB
> --------------------------------------------------------
>
> Key: HDDS-12581
> URL: https://issues.apache.org/jira/browse/HDDS-12581
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Sreeja
> Assignee: Sreeja
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.1.0
>
>
> Log files should be parsed using multiple threads, where each thread
> processes one file at a time. The number of threads should be dynamically
> adjusted (can be given in the command). During the parsing process, batch
> updates should be performed on the database. It should be ensured that only
> one thread performs the database updates at a time while other threads are
> blocked during this operation.
> Also create a ozone debug CLI command for the same.
> {code:java}
> ./ozone debug container container_log_parse --parse=<path to logs folder>
> --thread-count=<num of threads>{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]