sodonnel commented on PR #3892:
URL: https://github.com/apache/ozone/pull/3892#issuecomment-1293388050

   I tried this out with the OZONE_ROOT_LOGGER setting at various levels and it 
looks good:
   
   ```
   bash-4.2$ OZONE_ROOT_LOGGER=DEBUG,console ozone sh volume create /vol1
   2022-10-27 11:27:35,434 [main] DEBUG lib.MutableMetricsFactory: field 
org.apache.hadoop.metrics2.lib.MutableRate 
org.apache.hadoop.security.UserGroupInformation$UgiMetrics.getGroups with 
annotation @org.apache.hadoop.metrics2.annotation.Metric(always=false, 
sampleName="Ops", valueName="Time", about="", interval=10, type=DEFAULT, 
value={"GetGroups"})
   2022-10-27 11:27:35,437 [main] DEBUG lib.MutableMetricsFactory: field 
org.apache.hadoop.metrics2.lib.MutableRate 
org.apache.hadoop.security.UserGroupInformation$UgiMetrics.loginFailure with 
annotation @org.apache.hadoop.metrics2.annotation.Metric(always=false, 
sampleName="Ops", valueName="Time", about="", interval=10, type=DEFAULT, 
value={"Rate of failed kerberos logins and latency (milliseconds)"})
   2022-10-27 11:27:35,437 [main] DEBUG lib.MutableMetricsFactory: field 
org.apache.hadoop.metrics2.lib.MutableRate 
org.apache.hadoop.security.UserGroupInformation$UgiMetrics.loginSuccess with 
annotation @org.apache.hadoop.metrics2.annotation.Metric(always=false, 
sampleName="Ops", valueName="Time", about="", interval=10, type=DEFAULT, 
value={"Rate of successful kerberos logins and latency (milliseconds)"})
   2022-10-27 11:27:35,437 [main] DEBUG lib.MutableMetricsFactory: field 
private org.apache.hadoop.metrics2.lib.MutableGaugeInt 
org.apache.hadoop.security.UserGroupInformation$UgiMetrics.renewalFailures with 
annotation @org.apache.hadoop.metrics2.annotation.Metric(always=false, 
sampleName="Ops", valueName="Time", about="", interval=10, type=DEFAULT, 
value={"Renewal failures since last successful login"})
   2022-10-27 11:27:35,438 [main] DEBUG lib.MutableMetricsFactory: field 
private org.apache.hadoop.metrics2.lib.MutableGaugeLong 
org.apache.hadoop.security.UserGroupInformation$UgiMetrics.renewalFailuresTotal 
with annotation @org.apache.hadoop.metrics2.annotation.Metric(always=false, 
sampleName="Ops", valueName="Time", about="", interval=10, type=DEFAULT, 
value={"Renewal failures since startup"})
   2022-10-27 11:27:35,438 [main] DEBUG impl.MetricsSystemImpl: UgiMetrics, 
User and group related metrics
   2022-10-27 11:27:35,516 [main] DEBUG util.Shell: setsid exited with exit 
code 0
   ...
   2022-10-27 11:27:35,901 [main] DEBUG ipc.Client: removing client from cache: 
Client-cc25afd97c55431b91894353158cbb5e
   2022-10-27 11:27:35,901 [main] DEBUG ipc.Client: stopping actual client 
because no more references remain: Client-cc25afd97c55431b91894353158cbb5e
   2022-10-27 11:27:35,901 [main] DEBUG ipc.Client: Stopping client
   2022-10-27 11:27:35,902 [IPC Client (1937693946) connection to 
om/172.30.0.6:9862 from hadoop] DEBUG ipc.Client: IPC Client (1937693946) 
connection to om/172.30.0.6:9862 from hadoop: closed
   2022-10-27 11:27:35,902 [IPC Client (1937693946) connection to 
om/172.30.0.6:9862 from hadoop] DEBUG ipc.Client: IPC Client (1937693946) 
connection to om/172.30.0.6:9862 from hadoop: stopped, remaining connections 0
   bash-4.2$ OZONE_ROOT_LOGGER=INFO,console ozone sh volume create /vol2 
   2022-10-27 11:27:49,551 [main] INFO rpc.RpcClient: Creating Volume: vol2, 
with hadoop as owner and space quota set to -1 bytes, counts quota set to -1
   bash-4.2$ OZONE_ROOT_LOGGER=OFF,console ozone sh volume create /vol2
   VOLUME_ALREADY_EXISTS Volume already exists
   bash-4.2$ OZONE_ROOT_LOGGER=OFF,console ozone sh volume create /vol3
   bash-4.2$
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to