You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
worker group manage ui could not display createtime and updatetime
To Reproduce
Normal start and login
goto "security> worker group manage"
Expected behavior
createtime and updatetime is null
Screenshots
If applicable, add screenshots to help explain your problem.
Which version of Dolphin Scheduler:
-[1.3.1-release]
Additional context
1.HeartBeatTask#run, send message to zk for report
2.zk property value format
"cpuUsage,memoryUsage,loadAverage,availablePhysicalMemorySize,maxCpuloadAvg,reservedMemory,startTime,updatetime.status,processid" HeartBeatTask#run
StringBuilder builder = new StringBuilder(100); builder.append(OSUtils.cpuUsage()).append(COMMA); builder.append(OSUtils.memoryUsage()).append(COMMA); builder.append(OSUtils.loadAverage()).append(COMMA); builder.append(OSUtils.availablePhysicalMemorySize()).append(Constants.COMMA); builder.append(maxCpuloadAvg).append(Constants.COMMA); builder.append(reservedMemory).append(Constants.COMMA); builder.append(startTime).append(Constants.COMMA); // index 6 builder.append(DateUtils.dateToString(new Date())).append(Constants.COMMA); //index 7 builder.append(status).append(COMMA); //save process id builder.append(OSUtils.getProcessID());
3.WorkerGroupService#getWorkerGroups get zk path value and parse
String registeredIpValue = zookeeperCachedOperator.get(workerGroupPath + "/" + childrenNodes.get(0)); wg.setCreateTime(DateUtils.stringToDate(registeredIpValue.split(",")[3])); // split twice and error wg.setUpdateTime(DateUtils.stringToDate(registeredIpValue.split(",")[4]));// split twice and error
`
Describe the bug
worker group manage ui could not display createtime and updatetime
To Reproduce
Expected behavior
createtime and updatetime is null
Screenshots
If applicable, add screenshots to help explain your problem.
Which version of Dolphin Scheduler:
-[1.3.1-release]
Additional context
1.HeartBeatTask#run, send message to zk for report
2.zk property value format
"cpuUsage,memoryUsage,loadAverage,availablePhysicalMemorySize,maxCpuloadAvg,reservedMemory,startTime,updatetime.status,processid"
HeartBeatTask#run
3.WorkerGroupService#getWorkerGroups get zk path value and parse
The text was updated successfully, but these errors were encountered: