guyinyou commented on a change in pull request #3659:
URL:
https://github.com/apache/incubator-dolphinscheduler/pull/3659#discussion_r494374529
##########
File path:
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterExecThread.java
##########
@@ -651,14 +653,22 @@ private void setTaskNodeSkip(List<String>
taskNodesSkipList){
* submit post node
* @param parentNodeName parent node name
*/
+ private Map<String,Object> propToValue = new ConcurrentHashMap<String,
Object>();
private void submitPostNode(String parentNodeName){
List<String> submitTaskNodeList = parsePostNodeList(parentNodeName);
List<TaskInstance> taskInstances = new ArrayList<>();
for(String taskNode : submitTaskNodeList){
+ try {
+ VarPoolUtils.convertVarPoolToMap(propToValue,
processInstance.getVarPool());
+ } catch (ParseException e) {
+ logger.error("parse {} exception",
processInstance.getVarPool(), e);
Review comment:
Thank you for your proposal. I think about it carefully, but I still
can't think of how to deal with the wrong situation. Moreover, under normal
circumstances, varpool will only be empty or generated according to the normal
format. Generally, there will be no error.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]