You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "Radeity (via GitHub)" <gi...@apache.org> on 2023/04/16 14:32:23 UTC

[GitHub] [dolphinscheduler] Radeity opened a new issue, #13929: [Bug] [K8S Task] Set command with single quote is invalid

Radeity opened a new issue, #13929:
URL: https://github.com/apache/dolphinscheduler/issues/13929

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   Set commend like this:
   <img width="572" alt="image" src="https://user-images.githubusercontent.com/45198818/232316881-0a0afdf4-c25a-4c9c-8511-a0031b03e202.png">
   
   After regex matching, we generate command list: `["perl",  "-Mbignum=bpi", "-wle", "'print bpi(2000)'"]`
   If we use double " and single ' quotes at the same time like above, the array of this yaml will be parsed to:
   ```
     - command:
       - perl
       - -Mbignum=bpi
       - -wle
       - '''print bpi(2000)'''
   ```
   Then, we will get error log of pod: `Useless use of a constant ("print bpi(2000)") in void context at -e line 1.`
   
   ### What you expected to happen
   
   we should get a list of String without single quote in any element, in this example, it should be `["perl",  "-Mbignum=bpi", "-wle", "print bpi(2000)"]`.
   
   ### How to reproduce
   
   Try to set command with single quote.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   dev
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


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

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


[GitHub] [dolphinscheduler] SbloodyS closed issue #13929: [Bug] [K8S Task] Set command contains single quote is invalid

Posted by "SbloodyS (via GitHub)" <gi...@apache.org>.
SbloodyS closed issue #13929: [Bug] [K8S Task] Set command contains single quote is invalid
URL: https://github.com/apache/dolphinscheduler/issues/13929


-- 
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 #13929: [Bug] [K8S Task] Set command with single quote is invalid

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #13929:
URL: https://github.com/apache/dolphinscheduler/issues/13929#issuecomment-1510400928

   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 [join our slack](https://s.apache.org/dolphinscheduler-slack) and send your question to channel `#troubleshooting`


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