-
Notifications
You must be signed in to change notification settings - Fork 5k
[BUG] NEF when get info from OSUtils #2927
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
OSUtils.cpuUsage() function will produce NumberFormatException if cpuUsage() function returns 0.0 / 0.0 = NaN.
To Reproduce
When I start my WorkerServer in my MacOS, it will schedule to produce a heartbeat signal to zk, and it will produce NFE when get cpuUsage() result equals NaN(0.0 / 0.0) from oshi.AbstractCentralProcessor#getSystemCpuLoad().
Which version of Dolphin Scheduler:
-[dev]
**Requirement or improvement
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

