[
https://issues.apache.org/jira/browse/SLIDER-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14109012#comment-14109012
]
Steve Loughran commented on SLIDER-353:
---------------------------------------
Taskkill does this, but it works on exe name {{JAVA.EXE}}
[[http://technet.microsoft.com/en-us/library/bb491009.aspx]] or PID. Somehow
the command string will need to jps -v |
{code}
jps -v | find "hbase"
{code}
It's very fussy about case:
{code}
C:\Users\Administrator>jps -v | find "jps"
C:\Users\Administrator>jps -v | find "Jps"
2704 Jps -Dapplication.home=c:\java\jdk7 -Xms8m
{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
> Time Spent: 0.5h
> Remaining Estimate: 1.5h
>
> 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)