Wei-Chiu Chuang created HDDS-3786:
-------------------------------------

             Summary: Tone down failover message
                 Key: HDDS-3786
                 URL: https://issues.apache.org/jira/browse/HDDS-3786
             Project: Hadoop Distributed Data Store
          Issue Type: Improvement
          Components: Ozone Client
            Reporter: Wei-Chiu Chuang



For whatever client side operation, the client typically don't hit the leader 
the first time, and the client emits the following message. This is a minor 
issue but kind of scary for a user new to ozone.
{noformat}
20/06/11 23:40:57 INFO Configuration.deprecation: mapred.task.timeout is 
deprecated. Instead, use mapreduce.task.timeout
20/06/11 23:40:58 INFO ha.OMFailoverProxyProvider: RetryProxy: OM:om1 is not 
the leader. Suggested leader is OM:om2.
        at 
org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.createNotLeaderException(OzoneManagerProtocolServerSideTranslatorPB.java:185)
        at 
org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.submitReadRequestToOM(OzoneManagerProtocolServerSideTranslatorPB.java:173)
        at 
org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.processRequest(OzoneManagerProtocolServerSideTranslatorPB.java:109)
        at 
org.apache.hadoop.hdds.server.OzoneProtocolMessageDispatcher.processRequest(OzoneProtocolMessageDispatcher.java:74)
        at 
org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.submitRequest(OzoneManagerProtocolServerSideTranslatorPB.java:99)
        at 
org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos$OzoneManagerService$2.callBlockingMethod(OzoneManagerProtocolProtos.java)
        at 
org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:528)
        at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1070)
        at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:985)
        at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:913)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:422)
        at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1876)
        at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2882)
{noformat}

Can we tone down this a little? At the very least, don't print the stack trace.

Tried this on a beta cluster. Let me know if this is already improved in the 
master branch.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org

Reply via email to