Skip to content

don't set shell if arguments list is empty, ability to override shell#1049

Merged
ssalinas merged 1 commit into
masterfrom
shell_setting
May 20, 2016
Merged

don't set shell if arguments list is empty, ability to override shell#1049
ssalinas merged 1 commit into
masterfrom
shell_setting

Conversation

@ssalinas
Copy link
Copy Markdown
Contributor

With the new changes to the ON_DEMAND ui we made, we are defaulting the arguments list to set, but empty. Because it was now present, this triggered the shell: false being set on the mesos task, so commands set as long strings were coming back with Failed to exec: No such file or directory errors. This fixes that bug, and also allows us to override the shell setting in case we need to.

/fixes #1047

@ssalinas ssalinas modified the milestone: 0.7.1 May 19, 2016
@ssalinas ssalinas modified the milestones: 0.7.1, 0.6.1 May 19, 2016
@demobox
Copy link
Copy Markdown
Contributor

demobox commented May 19, 2016

FYI: Workaround via the API described here

@ssalinas
Copy link
Copy Markdown
Contributor Author

Going to merge this, got bot the arguments check, and cmdLineArgs check in there @demobox , as well as a way to override shell setting if you ever need to, just in case

@ssalinas ssalinas merged commit 698c8f9 into master May 20, 2016
@ssalinas ssalinas deleted the shell_setting branch May 20, 2016 12:41
@demobox
Copy link
Copy Markdown
Contributor

demobox commented May 20, 2016

got bot the arguments check, and cmdLineArgs check in there @demobox , as well as a way to override shell setting if you ever need to, just in case

Great, thanks!

@coderfi
Copy link
Copy Markdown

coderfi commented May 23, 2016

Wow, I just ran into this problem on Thursday and decided to deploy my work to our Marathon instance, but this seems like this will fix the issue so I can continue the Singularity evaluation. It's like you anticipated my every need! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failure while trying to run a jar file with on demand setting

3 participants