[
https://issues.apache.org/jira/browse/HDDS-12485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Chuan Yu reassigned HDDS-12485:
------------------------------------
Assignee: Chia-Chuan Yu
> Repair tool should only print user warning for offline commands
> ---------------------------------------------------------------
>
> Key: HDDS-12485
> URL: https://issues.apache.org/jira/browse/HDDS-12485
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Ethan Rose
> Assignee: Chia-Chuan Yu
> Priority: Major
>
> Since we are starting to look at online repair tools in discussions like
> https://github.com/apache/ozone/pull/7748, we should not print the [warning
> message|https://github.com/apache/ozone/blob/7ee359daab84842a52258cc8b7ef115fa0ed4cb6/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/repair/RepairTool.java#L31]
> about which user the command is running as, since it is only relevant for
> offline repair.
> We can use
> [RepairTool#serviceToBeOffline|https://github.com/apache/ozone/blob/7ee359daab84842a52258cc8b7ef115fa0ed4cb6/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/repair/RepairTool.java#L50]
> to check whether the tool is online or offline and print the message
> accordingly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]