zhanguohao opened a new issue #4455:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4455


   **For better global communication, Please describe it in English. If you 
feel the description in English is not clear, then you can append description 
in Chinese(just for Mandarin(CN)), thx! **
   
   **Describe the bug**
   In the module “common”,  when the shell script is executed to get the 
output, if the single output exceeds buf size (default 1024 ) , it will be 
truncated, and only the last one will be kept
   
   
   common 模块中,执行 shell 脚本获取输出时, 如果单次输出超过buf,会被截断,仅保留最后一次
   
   
   
![image](https://user-images.githubusercontent.com/11975398/104571141-b8753a80-568d-11eb-863b-8eb96fdde6a3.png)
   
   When the task is killed, all the pids will be obtained from the output, and 
the log truncation will cause an error
   
   
   在杀掉任务的时候,会从输出中获取所有的pid,日志截断导致获取不到而报错
   
   
![image](https://user-images.githubusercontent.com/11975398/104571673-5406ab00-568e-11eb-946e-59ea63621f5f.png)
   
   
   **Expected behavior**
   
   All output must be obtained, not truncated
   
   所有的输出都要得到,不要截断
   
   **Which version of Dolphin Scheduler:**
    - [all]
   


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


Reply via email to