chenyuan9028 opened a new issue #803: [BUG] the UI  doesn't show resourceList 
when add a task through calling api to update processDefJson
URL: https://github.com/apache/incubator-dolphinscheduler/issues/803
 
 
   version:1.1.0
   Problem: I add a task "snowball-aouth_client" through calling api to update 
processDefJson,the UI shows the new task,but the resourceList shows nothing.
   
   
   
   Below is my processDefJson:
   ```json
   {
       "globalParams":[
   
       ],
       "tasks":[
           {
               "workerGroupId":-1,
               "runFlag":"NORMAL",
               "type":"SHELL",
               "params":{
                   "rawScript":"#!/bin/bash
   
   source ./import.sh
   
   #import_as_parquet snowball snowball report_spam_short
   ",
                   "localParams":[
   
                   ],
                   "resourceList":[
                       {
                           "res":"import.sh"
                       }
                   ]
               },
               "timeout":{
                   "enable":false,
                   "strategy":""
               },
               "maxRetryTimes":"0",
               "taskInstancePriority":"MEDIUM",
               "name":"tmp_task",
               "dependence":{
   
               },
               "retryInterval":"1",
               "preTasks":[
   
               ],
               "id":"tasks-98924",
               "desc":"临时任务"
           },
           {
               "taskInstancePriority":"MEDIUM",
               "name":"snowball-oauth_client",
               "dependence":{
   
               },
               "retryInterval":"1",
               "preTasks":[
   
               ],
               "id":"task-1568701296444",
               "runFlag":"NORMAL",
               "type":"SHELL",
               "params":{
                   "rawScript":"#!/bin/bash
   hadoop fs -get /escheduler/hdfs/resources/import.sh ./
   source ./import.sh
   import_as_parquet snowball  snowball  oauth_client  oauth_client 
   if [[ $? -ne 0 ]];then
   echo "----------sqoop failed-------------"
       exit -1
   fi",
                   "localParams":[
   
                   ],
                   "resourceList":{
                       "res":"import.sh"
                   }
               },
               "timeout":{
                   "enable":false,
                   "interval":60,
                   "strategy":""
               },
               "desc":"",
               "maxRetryTimes":"1"
           }
       ],
       "tenantId":-1,
       "timeout":0
   }
   ```
   
   
   

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


With regards,
Apache Git Services

Reply via email to