[ 
https://issues.apache.org/jira/browse/AMBARI-15557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15211810#comment-15211810
 ] 

Daniel Gergely commented on AMBARI-15557:
-----------------------------------------

Service check fails, because of a missing space at the end of "timeout 300000"

ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/service_check.py
{noformat}
yarn_distrubuted_shell_check_cmd = format("yarn 
org.apache.hadoop.yarn.applications.distributedshell.Client "
                                              "-shell_command ls "
                                              "-num_containers {number_of_nm} "
                                              "-jar 
{path_to_distributed_shell_jar} "
                                              "-timeout 300000"
                                              "--queue {queue_for_check}")
{noformat}

[~dsen] Could you please take a look?

> YARN service check fails if there is no queue named "default"
> -------------------------------------------------------------
>
>                 Key: AMBARI-15557
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15557
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.2
>            Reporter: Dmytro Grinenko
>            Assignee: Dmytro Sen
>            Priority: Critical
>             Fix For: trunk, 2.2.2
>
>         Attachments: AMBARI-15557-trunk.patch, AMBARI-15557.patch, 
> AMBARI-15557.patch.1
>
>
> Service check for yarn will fail in case if 
> {{yarn.scheduler.capacity.root.queues}} doesn't declare default queue. This 
> caused due to usage of yarn distributed shell, which use default queue. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to