Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-1065

panic in nodeUpdate when node disappears

    XMLWordPrintableJSON

Details

    Description

      Based on a message in the chat channel:

      panic: runtime error:
      invalid memory address or nil pointer dereference signal SIGSEGV:
      segmentation violation code=0x1 addr=0x0 pc=0x9f4da0]
      goroutine 16 [running]: github.com/apache/incubator-yunikorn-core/pkg/scheduler.(*ClusterContext).updateNode(0xc00014d2c0, 0xc020451f10)   
        /go/pkg/mod/github.com/apache/incubator-yunikorn-core@v0.0.6/pkg/scheduler/context.go:620 +0x3a0 
      github.com/apache/incubator-yunikorn-core/pkg/scheduler.(*ClusterContext).processNodes(0xc00014d2c0, 0xc0213e0410)
       /go/pkg/mod/github.com/apache/incubator-yunikorn-core@v0.0.6/pkg/scheduler/context.go:230 +0x405 
      github.com/apache/incubator-yunikorn-core/pkg/scheduler.(*ClusterContext).handleRMUpdateNodeEvent(...) 
       /go/pkg/mod/github.com/apache/incubator-yunikorn-core@v0.0.6/pkg/scheduler/context.go:206

       

      Thanks to Ben Roubicek for finding this

      Attachments

        Issue Links

          Activity

            People

              wilfreds Wilfred Spiegelenburg
              wilfreds Wilfred Spiegelenburg
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: