[
https://issues.apache.org/jira/browse/KYLIN-1319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15268463#comment-15268463
]
Zhong Yanghong edited comment on KYLIN-1319 at 5/3/16 10:11 AM:
----------------------------------------------------------------
Since the information we want to check for a job is mainly "state" and
"finalStatus", which can be achieved by the command "yarn application -status
$job_id", we can turn the class
"org.apache.hadoop.yarn.client.cli.ApplicationCLI". And I'll create a patch for
that in recent days. Thanks for your help.
was (Author: yaho):
Since the information we want to check for a job is mainly "state" and
"finalStatus", which can be achieved by the command "yarn application -status
${job_id}", we can turn the class
"org.apache.hadoop.yarn.client.cli.ApplicationCLI". And I'll create a patch for
that in recent days. Thanks for your help.
> Find a better way to check hadoop job status
> --------------------------------------------
>
> Key: KYLIN-1319
> URL: https://issues.apache.org/jira/browse/KYLIN-1319
> Project: Kylin
> Issue Type: Improvement
> Reporter: liyang
> Assignee: Zhong Yanghong
> Labels: newbie
>
> Currently Kylin retrieves jobs status via a resource manager web service like
> {code}https://<your_rm_server>:<port>/ws/v1/cluster/apps/${job_id}?anonymous=true{code}
> It is not most robust. Some user does not have
> "yarn.resourcemanager.webapp.address" set in yarm-site.xml, then get status
> will fail out-of-box. They have to set a Kylin property
> "kylin.job.yarn.app.rest.check.status.url" to overcome, which is not user
> friendly.
> Kerberos authentication might cause problem too if security is enabled.
> Is there a more robust way to check job status? Via Job API?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)