You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2014/08/22 17:54:12 UTC
[jira] [Commented] (SLIDER-353) killJavaProcesses doesn't work on
windows
[ https://issues.apache.org/jira/browse/SLIDER-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14107003#comment-14107003 ]
Steve Loughran commented on SLIDER-353:
---------------------------------------
{code}
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 52.457 sec <<< FAILURE! - in org.apache.slider.agent.sta
ndalone.TestStandaloneAMKill
testKillStandaloneAM(org.apache.slider.agent.standalone.TestStandaloneAMKill) Time elapsed: 50.117 sec <<< ERROR!
java.io.IOException: Cannot run program "bash": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:385)
at java.lang.ProcessImpl.start(ProcessImpl.java:136)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022)
at java.lang.Runtime.exec(Runtime.java:617)
at java.lang.Runtime.exec(Runtime.java:485)
at org.codehaus.groovy.runtime.ProcessGroovyMethods.execute(ProcessGroovyMethods.java:588)
at org.codehaus.groovy.runtime.ProcessGroovyMethods.execute(ProcessGroovyMethods.java:655)
at org.apache.slider.test.YarnMiniClusterTestBase.killJavaProcesses(YarnMiniClusterTestBase.groovy:332)
at org.apache.slider.test.YarnMiniClusterTestBase.killAM(YarnMiniClusterTestBase.groovy:321)
at org.apache.slider.agent.standalone.TestStandaloneAMKill.testKillStandaloneAM(TestStandaloneAMKill.groovy:61)
{code}
> killJavaProcesses doesn't work on windows
> -----------------------------------------
>
> Key: SLIDER-353
> URL: https://issues.apache.org/jira/browse/SLIDER-353
> Project: Slider
> Issue Type: Sub-task
> Components: test, windows
> Affects Versions: Slider 0.50
> Environment: Windows 2012
> Reporter: Steve Loughran
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Tests that try to kill java processes fail as bash isn't on the command line ... we need a windows equivalent
--
This message was sent by Atlassian JIRA
(v6.2#6252)