You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/08/18 07:42:35 UTC

[GitHub] [dolphinscheduler] SbloodyS opened a new issue #6000: [Bug][Shell Task] shell task error

SbloodyS opened a new issue #6000:
URL: https://github.com/apache/dolphinscheduler/issues/6000


   shell task error
   ```
   java.lang.IllegalStateException: Queue full
   	at java.util.AbstractQueue.add(AbstractQueue.java:98)
   	at org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.lambda$parseProcessOutput$0(AbstractCommandExecutor.java:356)
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   ```
   **Which version of Dolphin Scheduler:**
    -[1.3.7]
   
   


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

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] SbloodyS commented on issue #6000: [Bug][Shell Task] shell task error

Posted by GitBox <gi...@apache.org>.
SbloodyS commented on issue #6000:
URL: https://github.com/apache/dolphinscheduler/issues/6000#issuecomment-900907589


   https://github.com/apache/dolphinscheduler/blob/f013ef832aee6d0513ddc2af8cd41d4c16ff0ac9/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java#L394
   
   it seems DEFAULT_LOG_BUFFER_SIZE too small


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

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] ruanwenjun edited a comment on issue #6000: [Bug][Shell Task] shell task error

Posted by GitBox <gi...@apache.org>.
ruanwenjun edited a comment on issue #6000:
URL: https://github.com/apache/dolphinscheduler/issues/6000#issuecomment-902400983


   @SbloodyS Sorry, this is a bug, there are two solutions to solve
   1. You can edit the AbstractCommandExecutor line 102
   ```java
   this.logBuffer = new LinkedBlockingQueue<>(Constants.DEFAULT_LOG_BUFFER_SIZE);
   ```
   to 
   ```java
   this.logBuffer = new LinkedBlockingQueue<>();
   ```
   
   2. You can modify all `logBuffer.add()` in `AbstractCommandExecutor` and use `logBuffer.put()`
   


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

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #6000: [Bug][Shell Task] shell task error

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #6000:
URL: https://github.com/apache/dolphinscheduler/issues/6000#issuecomment-900894206


   Hi:
   * Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
   * In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
   * If you haven't received a reply for a long time, you can subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/zh-cn/community/development/subscribe.html ,Then write the issue URL in the email content and send question to dev@dolphinscheduler.apache.org.


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

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] SbloodyS commented on issue #6000: [Bug][Shell Task] shell task error

Posted by GitBox <gi...@apache.org>.
SbloodyS commented on issue #6000:
URL: https://github.com/apache/dolphinscheduler/issues/6000#issuecomment-900895677






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

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] CalvinKirs commented on issue #6000: [Bug][Shell Task] shell task error

Posted by GitBox <gi...@apache.org>.
CalvinKirs commented on issue #6000:
URL: https://github.com/apache/dolphinscheduler/issues/6000#issuecomment-902727630


   deeply thanks for your feedback, I will fix it to 1.3.8 release and publish it.


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

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] CalvinKirs commented on issue #6000: [Bug][Shell Task] shell task error

Posted by GitBox <gi...@apache.org>.
CalvinKirs commented on issue #6000:
URL: https://github.com/apache/dolphinscheduler/issues/6000#issuecomment-902744788


   fix #6005 


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

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] CalvinKirs closed issue #6000: [Bug][Shell Task] shell task error

Posted by GitBox <gi...@apache.org>.
CalvinKirs closed issue #6000:
URL: https://github.com/apache/dolphinscheduler/issues/6000


   


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

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #6000: [Bug][Shell Task] shell task error

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #6000:
URL: https://github.com/apache/dolphinscheduler/issues/6000#issuecomment-900894206


   Hi:
   * Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
   * In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
   * If you haven't received a reply for a long time, you can subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/zh-cn/community/development/subscribe.html ,Then write the issue URL in the email content and send question to dev@dolphinscheduler.apache.org.


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

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] SbloodyS commented on issue #6000: [Bug][Shell Task] shell task error

Posted by GitBox <gi...@apache.org>.
SbloodyS commented on issue #6000:
URL: https://github.com/apache/dolphinscheduler/issues/6000#issuecomment-902409892


   thanks.


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

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] SbloodyS commented on issue #6000: [Bug][Shell Task] shell task error

Posted by GitBox <gi...@apache.org>.
SbloodyS commented on issue #6000:
URL: https://github.com/apache/dolphinscheduler/issues/6000#issuecomment-900895677


   this scripts works fine in 1.3.6


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

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] ruanwenjun commented on issue #6000: [Bug][Shell Task] shell task error

Posted by GitBox <gi...@apache.org>.
ruanwenjun commented on issue #6000:
URL: https://github.com/apache/dolphinscheduler/issues/6000#issuecomment-902400983


   @SbloodyS Sorry, this is a bug, there two solutions
   1. You can edit the AbstractCommandExecutor line 102
   ```java
   this.logBuffer = new LinkedBlockingQueue<>(Constants.DEFAULT_LOG_BUFFER_SIZE);
   ```
   to 
   ```java
   this.logBuffer = new LinkedBlockingQueue<>();
   ```
   
   2. You can modify all `logBuffer.add()` in `AbstractCommandExecutor` and use `logBuffer.put()`
   


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

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org