[
https://issues.apache.org/jira/browse/SLIDER-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14275552#comment-14275552
]
Steve Loughran commented on SLIDER-752:
---------------------------------------
Good point, {{SliderYarnClientImpl}} is how to do it -it lists all YARN apps
running and filters them.
I'm looking (SLIDER-720) at resolving the service URL/IPC ports via the yarn ZK
registry, so doesn't need to talk to the RM. This will work for resolving a
single application's endpoints, but not so good for enumerating all running
applications, as you'd have to enum all users and look under
services/org.apache.slider to enum their instances, and it can retain info on
dead instances.
I don't see {{SliderYarnClientImpl}} going away; it's very independent of the
rest of Slider.
> No easy way to get list of applications via API from SliderClient
> -----------------------------------------------------------------
>
> Key: SLIDER-752
> URL: https://issues.apache.org/jira/browse/SLIDER-752
> Project: Slider
> Issue Type: Bug
> Components: core
> Affects Versions: Slider 0.61
> Reporter: Srimanth Gunturi
> Fix For: Slider 0.61
>
>
> Slider-View is trying to list applications launched by Slider. However there
> is no API friendly call to get the list of apps. The method
> [SliderClient#actionList()|https://git-wip-us.apache.org/repos/asf?p=incubator-slider.git;a=blob;f=slider-core/src/main/java/org/apache/slider/client/SliderClient.java;h=59d317eea73a9a14caa7f2479a5ffc95c748516f;hb=develop#l2023]
> directly gets applications and prints output.
> We need an API to get the list of applications, and it should be the same as
> the CLI invocation.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)