Soumitra Sulav created HDDS-13832:
-------------------------------------

             Summary: Safemode status not supported on SCM follower
                 Key: HDDS-13832
                 URL: https://issues.apache.org/jira/browse/HDDS-13832
             Project: Apache Ozone
          Issue Type: Bug
          Components: Ozone CLI
    Affects Versions: 2.1.0
            Reporter: Soumitra Sulav


SCM safemode status for follower is never supported.

It is always from the SCM leader.

Below command always give the status of leader SCm even on passing invalid 
values in --scm variable :

 
{code:java}
ozone admin safemode status --verbose --scm=invalid_host{code}
 

At follower node, only below command are supported for SCM,{{}}
{code:java}
Set<Type> ADMIN_COMMAND_TYPE = Collections.unmodifiableSet(EnumSet.of(
    Type.StartReplicationManager,
    Type.StopReplicationManager,
    Type.ForceExitSafeMode));{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]

Reply via email to