Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7899510710 for ; Wed, 10 Jul 2013 00:17:49 +0000 (UTC) Received: (qmail 82986 invoked by uid 500); 10 Jul 2013 00:17:49 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 82952 invoked by uid 500); 10 Jul 2013 00:17:49 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 82916 invoked by uid 99); 10 Jul 2013 00:17:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jul 2013 00:17:49 +0000 Date: Wed, 10 Jul 2013 00:17:49 +0000 (UTC) From: "Omkar Vinit Joshi (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (YARN-190) Issues when running distributedShell example in hadoop-2.0.1-alpha cluster MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-190?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Omkar Vinit Joshi resolved YARN-190. ------------------------------------ Resolution: Cannot Reproduce =20 > Issues when running distributedShell example in hadoop-2.0.1-alpha cluste= r > -------------------------------------------------------------------------= - > > Key: YARN-190 > URL: https://issues.apache.org/jira/browse/YARN-190 > Project: Hadoop YARN > Issue Type: Bug > Components: applications/distributed-shell > Affects Versions: 2.0.1-alpha > Environment: ubuntu 11.04 > Reporter: xiajunluan > Assignee: Omkar Vinit Joshi > Priority: Critical > > I have successfully run distributed Shell example in single node that d= eployed the hadoop-2.0.1-alpha. > But when I run distributedShell in cluster environment, sometimes it wo= rks well, but sometimes it will failed, following is my detail configuratio= n > =20 > A: NameNode, ResourceManager > B: DataNode, NodeManager > C: DataNode, NodeManager > I run the distributedShell with command=20 > =E2=80=9C./bin/hadoop jar share/hadoop/mapreduce/hadoop-yarn-applicat= ions-distributedshell-2.0.1-alpha.jar org.apache.hadoop.yarn.applications.d= istributedshell.Client -jar share/hadoop/mapreduce/hadoop-yarn-applications= -distributedshell-2.0.1-alpha.jar -shell_command whoami -debug=E2=80=9D > =20 > When application master is launched, it will create the container to r= un shell command =E2=80=9Cwhoami=E2=80=9D, so application master will run o= n node B or C, and container will also randomly run on B or C, if applicati= on master and shell command container run on the same node(for example all = on node B), above command will run successfully, but if in different node, = that is to say, if application master launched successfully in node B and i= t create the container that will run on node C, I will receive the error me= ssage: > =E2=80=A6=E2=80=A6. > 12/10/29 19:18:02 INFO distributedshell.Client: Application did finished = unsuccessfully. YarnState=3DFINISHED, DSFinalStatus=3DFAILED. Breaking moni= toring loop > 12/10/29 19:18:02 ERROR distributedshell.Client: Application failed to co= mplete successfully=E2=80=9D -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira