Rajesh Kanhaiya Lal created YUNIKORN-1943:
---------------------------------------------

             Summary: [Yunikorn] Logging Enhancement for Quota Enforcement 
checks
                 Key: YUNIKORN-1943
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1943
             Project: Apache YuniKorn
          Issue Type: Bug
          Components: shim - kubernetes
            Reporter: Rajesh Kanhaiya Lal
            Assignee: Manikandan R


Hi Team,

Currently, there is indefinite logging when we have quota enforcement checks 
for max application. When the App or User is not satisfying the max application 
setting which was set in Yunikorn-Config we are observing indefinite logging of 
the below warning.
{code:java}
{key:\"memory\"  value:{value:50000000}}  resources:{key:\"pods\"  
value:{value:1}}  resources:{key:\"vcore\"  value:{value:50}}}"}
2023-08-29T08:35:15.935Z    WARN    shim.context    cache/context.go:952    
task event is not published because task is not found    {"appID": 
"830c91f6-d89b-4c2a-8e9a-5c9ece9fd83a", "taskID": "testkk", "event": 
"type:REQUEST  objectID:\"830c91f6-d89b-4c2a-8e9a-5c9ece9fd83a\"  
message:\"Application testkk does not fit into root.default queue\"  
timestampNano:1693298115801596877  referenceID:\"testkk\"  
resource:{resources:{key:\"memory\"  value:{value:50000000}}  
resources:{key:\"pods\"  value:{value:1}}  resources:{key:\"vcore\"  
value:{value:50}}}"}
2023-08-29T08:35:15.935Z    WARN    shim.context    cache/context.go:952    
task event is not published because task is not found    {"appID": 
"830c91f6-d89b-4c2a-8e9a-5c9ece9fd83a", "taskID": "testkk", "event": 
"type:REQUEST  objectID:\"830c91f6-d89b-4c2a-8e9a-5c9ece9fd83a\"  
message:\"Application testkk does not fit into root.default queue\"  
timestampNano:1693298115902320752  referenceID:\"testkk\"  
resource:{resources:{key:\"memory\"  value:{value:50000000}}  
resources:{key:\"pods\"  value:{value:1}}  resources:{key:\"vcore\"  
value:{value:50}}}"} {code}
The warning will keep coming in the logs until the pod/Application is either 
scheduled or removed.

Also if you check the logs it's not very clearly formatted, Need some better 
formatting as well.

Build Yunikorn-1.3.1-b11

Please let me know if something is required.



--
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