[ 
https://issues.apache.org/jira/browse/YUNIKORN-1791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17729937#comment-17729937
 ] 

Wilfred Spiegelenburg commented on YUNIKORN-1791:
-------------------------------------------------

Example logging of a stacktrace with ERROR or above:
{code:java}
2023-06-07T06:20:02.339Z        ERROR   objects/preemption.go:517       BUG: 
Didn't find instance type in the nodeInstanceTypeMap{"nodeId": 
"yk8s-worker"}github.com/apache/yunikorn-core/pkg/scheduler/objects.(*Preemptor).tryNodes
        
github.com/apache/[email protected]/pkg/scheduler/objects/preemption.go:517github.com/apache/yunikorn-core/pkg/scheduler/objects.(*Preemptor).TryPreemption
        
github.com/apache/[email protected]/pkg/scheduler/objects/preemption.go:537github.com/apache/yunikorn-core/pkg/scheduler/objects.(*Application).tryPreemption
        
github.com/apache/[email protected]/pkg/scheduler/objects/application.go:1327github.com/apache/yunikorn-core/pkg/scheduler/objects.(*Application).tryAllocate
        
github.com/apache/[email protected]/pkg/scheduler/objects/application.go:1050github.com/apache/yunikorn-core/pkg/scheduler/objects.(*Queue).TryAllocate
        
github.com/apache/[email protected]/pkg/scheduler/objects/queue.go:1237github.com/apache/yunikorn-core/pkg/scheduler/objects.(*Queue).TryAllocate
        
github.com/apache/[email protected]/pkg/scheduler/objects/queue.go:1254github.com/apache/yunikorn-core/pkg/scheduler.(*PartitionContext).tryAllocate
        
github.com/apache/[email protected]/pkg/scheduler/partition.go:796github.com/apache/yunikorn-core/pkg/scheduler.(*ClusterContext).schedule
        
github.com/apache/[email protected]/pkg/scheduler/context.go:137github.com/apache/yunikorn-core/pkg/scheduler.(*Scheduler).internalSchedule
        github.com/apache/[email protected]/pkg/scheduler/scheduler.go:75 
{code}

> strip build paths in production code
> ------------------------------------
>
>                 Key: YUNIKORN-1791
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1791
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: shim - kubernetes, webapp
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Wilfred Spiegelenburg
>            Priority: Major
>
> The stack traces in the images show the local build paths.
> A simple option can be added to the build command to strip the path back to a 
> simple module reference {{-trimpath}}



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