[
https://issues.apache.org/jira/browse/SLIDER-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14275661#comment-14275661
]
Srimanth Gunturi edited comment on SLIDER-752 at 1/13/15 6:26 PM:
------------------------------------------------------------------
>From Slider-View's perspective, {{SliderClient}} is the main client class.
>Whether it uses YARN-client or HDFS-client internally is Slider implementation
>details. We want Slider-View to behave the same way as Slider-CLI, and list
>running/stopped apps. However there is no API to get list of running/stopped
>applications.
was (Author: srimanth.gunturi):
>From Slider-View's perspective, SliderClient is the main client class. Whether
>it uses YARN-client or HDFS-client internally is Slider implementation
>details. We want Slider-View to behave the same way as Slider-CLI, and list
>running/stopped apps. However there is no API to get list of running/stopped
>applications.
> 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)