[
https://issues.apache.org/jira/browse/SLIDER-950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15010377#comment-15010377
]
thomas liu edited comment on SLIDER-950 at 11/18/15 7:03 AM:
-------------------------------------------------------------
I have implemented an end to end get multi status API. Please take a look to
see how you think of it.
Patch: SLIDER-950-001.patch
I tried to run it on the 5node cluster
the output of 'ApplicationReport' is:
[applicationId { id: 56 cluster_timestamp: 1445117923783 } user: "root" queue:
"default" name: "oct2705" host: "cn007.l42scl.hortonworks.com" rpc_port: 1024
yarn_application_state: RUNNING trackingUrl:
"http://cn007.l42scl.hortonworks.com:8088/proxy/application_1445117923783_0056/"
diagnostics: "" startTime: 1446003405432 finishTime: 0
final_application_status: APP_UNDEFINED app_resource_Usage {
num_used_containers: 1 num_reserved_containers: 0 used_resources { memory: 1024
virtual_cores: 1 } reserved_resources { memory: 0 virtual_cores: 0 }
needed_resources { memory: 1024 virtual_cores: 1 } memory_seconds: 13097783673
vcore_seconds: 4567487 } originalTrackingUrl:
"http://cn007.l42scl.hortonworks.com:1025" currentApplicationAttemptId {
application_id { id: 56 cluster_timestamp: 1445117923783 } attemptId: 2 }
progress: 0.5 applicationType: "org-apache-slider" applicationTags:
"description: null" applicationTags: "version: null" applicationTags: "name:
myycloud" log_aggregation_status: LOG_NOT_START]
Do you think it has covered all we need?
Thanks
was (Author: thomas_liu):
I have implemented an end to end get multi status API. Please take a look to
see how you think of it.
I tried to run it on the 5node cluster
the output of 'ApplicationReport' is:
[applicationId { id: 56 cluster_timestamp: 1445117923783 } user: "root" queue:
"default" name: "oct2705" host: "cn007.l42scl.hortonworks.com" rpc_port: 1024
yarn_application_state: RUNNING trackingUrl:
"http://cn007.l42scl.hortonworks.com:8088/proxy/application_1445117923783_0056/"
diagnostics: "" startTime: 1446003405432 finishTime: 0
final_application_status: APP_UNDEFINED app_resource_Usage {
num_used_containers: 1 num_reserved_containers: 0 used_resources { memory: 1024
virtual_cores: 1 } reserved_resources { memory: 0 virtual_cores: 0 }
needed_resources { memory: 1024 virtual_cores: 1 } memory_seconds: 13097783673
vcore_seconds: 4567487 } originalTrackingUrl:
"http://cn007.l42scl.hortonworks.com:1025" currentApplicationAttemptId {
application_id { id: 56 cluster_timestamp: 1445117923783 } attemptId: 2 }
progress: 0.5 applicationType: "org-apache-slider" applicationTags:
"description: null" applicationTags: "version: null" applicationTags: "name:
myycloud" log_aggregation_status: LOG_NOT_START]
Do you think it has covered all we need?
Thanks
> Implement GetStatus API call for multiple applications
> ------------------------------------------------------
>
> Key: SLIDER-950
> URL: https://issues.apache.org/jira/browse/SLIDER-950
> Project: Slider
> Issue Type: New Feature
> Components: client
> Affects Versions: Slider 0.80
> Reporter: thomas liu
> Assignee: thomas liu
> Fix For: Slider 0.90
>
> Attachments: SLIDER-950-001.patch, SLIDER-950-DISCUSSION-1.patch
>
>
> We found it useful to implement an API to allow getting status for multiple
> applications in a cluster. We restrict the applications to a list of names we
> pass into the API
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)