From yarn-issues-return-135737-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Wed Jan 24 01:32:06 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 0638D180621 for ; Wed, 24 Jan 2018 01:32:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E9D4A160C4E; Wed, 24 Jan 2018 00:32:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3BBE0160C3A for ; Wed, 24 Jan 2018 01:32:05 +0100 (CET) Received: (qmail 26048 invoked by uid 500); 24 Jan 2018 00:32:04 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 26037 invoked by uid 99); 24 Jan 2018 00:32:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jan 2018 00:32:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id C21891A0BBA for ; Wed, 24 Jan 2018 00:32:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.911 X-Spam-Level: X-Spam-Status: No, score=-99.911 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id JFYB-OnfiA0p for ; Wed, 24 Jan 2018 00:32:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 92D8A5FB0B for ; Wed, 24 Jan 2018 00:32:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8343BE0F78 for ; Wed, 24 Jan 2018 00:32:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id B292E25C77 for ; Wed, 24 Jan 2018 00:32:00 +0000 (UTC) Date: Wed, 24 Jan 2018 00:32:00 +0000 (UTC) From: "Wangda Tan (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-7791) Support submit intra-app placement constraint in Distributed Shell to AppPlacementAllocator MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-7791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16336634#comment-16336634 ] Wangda Tan commented on YARN-7791: ---------------------------------- +1, will commit by today if no objections. > Support submit intra-app placement constraint in Distributed Shell to AppPlacementAllocator > ------------------------------------------------------------------------------------------- > > Key: YARN-7791 > URL: https://issues.apache.org/jira/browse/YARN-7791 > Project: Hadoop YARN > Issue Type: Sub-task > Components: client > Environment: Set {{yarn.resourcemanager.placement-constraints.enabled}} to {{false}} > Submit a job with placement constraint spec, e.g > {code} > in/yarn org.apache.hadoop.yarn.applications.distributedshell.Client -jar share/hadoop/yarn/hadoop-yarn-applications-distributedshell-3.1.0-SNAPSHOT.jar -shell_command sleep -shell_args 30 -num_containers 2 -master_memory 500 -container_memory 200 -placement_spec foo=4,NOTIN,NODE,foo > {code} > got following errors in RM log > {noformat} > Exception message:As of now, the only accepted target key for targetKey of allocation_tag target expression is: [yarn_application_label/%intra_app%]. Please make changes to placement constraints accordingly. > {noformat} > Looks like DS needs some modification to support submitting proper scheduling requests to app placement allocators. > Reporter: Weiwei Yang > Assignee: Sunil G > Priority: Major > Labels: distributedshell > Attachments: YARN-7791-YARN-6592.001.patch > > > Set {{yarn.resourcemanager.placement-constraints.enabled}} to {{false}} > Submit a job with placement constraint spec, e.g > {code} > in/yarn org.apache.hadoop.yarn.applications.distributedshell.Client -jar share/hadoop/yarn/hadoop-yarn-applications-distributedshell-3.1.0-SNAPSHOT.jar -shell_command sleep -shell_args 30 -num_containers 2 -master_memory 500 -container_memory 200 -placement_spec foo=4,NOTIN,NODE,foo > {code} > got following errors in RM log > {noformat} > Exception message:As of now, the only accepted target key for targetKey of allocation_tag target expression is: [yarn_application_label/%intra_app%]. Please make changes to placement constraints accordingly. > {noformat} > Looks like DS needs some modification to support submitting proper scheduling requests to app placement allocators. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org