Wilfred Spiegelenburg created YUNIKORN-1097:
-----------------------------------------------

             Summary: RMProxy DEBUG cannot log event with channel
                 Key: YUNIKORN-1097
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1097
             Project: Apache YuniKorn
          Issue Type: Bug
          Components: core - common
    Affects Versions: 1.0.0
            Reporter: Wilfred Spiegelenburg


The rmproxy logs:
{code:java}
2022-02-25T15:50:01.371-0600    DEBUG   rmproxy/rmproxy.go:64   enqueue event   
{"eventError": "json: unsupported type: chan *rmevent.Result", 
"currentQueueSize": 0} {code}
This is caused by the events that contain a channel as it cannot be represented.

zap.Any prefers not to use reflection and will pick up if the object implements 
a String method which we can use as a workaround on events that include a 
channel.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: dev-h...@yunikorn.apache.org

Reply via email to