Return-Path: X-Original-To: apmail-ambari-user-archive@www.apache.org Delivered-To: apmail-ambari-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0BE97118A1 for ; Fri, 28 Mar 2014 20:37:09 +0000 (UTC) Received: (qmail 58544 invoked by uid 500); 28 Mar 2014 20:37:08 -0000 Delivered-To: apmail-ambari-user-archive@ambari.apache.org Received: (qmail 58519 invoked by uid 500); 28 Mar 2014 20:37:07 -0000 Mailing-List: contact user-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ambari.apache.org Delivered-To: mailing list user@ambari.apache.org Received: (qmail 58504 invoked by uid 99); 28 Mar 2014 20:37:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Mar 2014 20:37:05 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jeff@hortonworks.com designates 209.85.213.169 as permitted sender) Received: from [209.85.213.169] (HELO mail-ig0-f169.google.com) (209.85.213.169) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Mar 2014 20:36:59 +0000 Received: by mail-ig0-f169.google.com with SMTP id h18so1270378igc.0 for ; Fri, 28 Mar 2014 13:36:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=jRi696wnYZfNcmTTiO6ctG+kMmurixRvdqDrbDuEfls=; b=eHobeYcvbRXy6dT5WdJyBXTDcmsXJiOFiP32rHtvSkCQB+cFjoRHJg0/13QPl5E5/w l5vlp8U+ux1qRRD7v0d1TcorgVwps2J37CT9zoKUckTcxUs65YQA7rcFbWA5tQBQw4+5 n03e0rujWwG2yoyfGSoGawbsrJTWQbNbOxXZ98zocTzjgGYLu/EjKFAsppRmKo2Ne+AY fwgLAVFJCfSzDSxLJaw71zTexwy1G04Bf9hPB6vJJxJSr7DHCW0YHFOTiKqSAkzRZ1+T 1c1+9LG4Xn78xdoeGAjs+QX9RvZkmtdn8pSHIOo9f/+z1+hjHf3HUpJo9zM273wKkrqP 249w== X-Gm-Message-State: ALoCoQluedLy8no9iBi4m4h1Rn2xooOrmFN9pNTjj6/FfhVSzl5JIBuF9GIU1yc2pFoI4kC0FvFpBdGfs0cAg1vYakNWkLGZFs3CkxzdFpE0K2PSSKZ6zUw= MIME-Version: 1.0 X-Received: by 10.42.120.15 with SMTP id d15mr9297031icr.35.1396038997864; Fri, 28 Mar 2014 13:36:37 -0700 (PDT) Received: by 10.64.231.101 with HTTP; Fri, 28 Mar 2014 13:36:37 -0700 (PDT) In-Reply-To: References: <1396038141.41277.YahooMailNeo@web163101.mail.bf1.yahoo.com> Date: Fri, 28 Mar 2014 16:36:37 -0400 Message-ID: Subject: Re: HDP 2.1.1 API install with Ambari 1.5 fails to start YARN From: Jeff Sposetti To: user@ambari.apache.org Cc: Richard Clapp Content-Type: multipart/alternative; boundary=90e6ba613c3a8f89d604f5b0a80a X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba613c3a8f89d604f5b0a80a Content-Type: text/plain; charset=US-ASCII Ramya, if you are up for it, want to try installing with the Blueprints API? Simplifies install vs. using the multiple Install API calls... https://cwiki.apache.org/confluence/display/AMBARI/Blueprints On Fri, Mar 28, 2014 at 4:35 PM, Ramya Manjunath wrote: > The script modifies many configuration parameters and some are specific to > our environment. > > I basically started with > https://github.com/apache/ambari/blob/trunk/ambari-server/src/test/resources/deploy_HDP2.shand added the new services and modified the configs. > > Thanks, > Ramya > > > > On Fri, Mar 28, 2014 at 1:22 PM, Richard Clapp wrote: > >> can you put in your script if not too long. Perhaps there is something >> we can see. >> >> ------------------------------ >> *From:* Ramya Manjunath >> *To:* user@ambari.apache.org >> *Sent:* Friday, March 28, 2014 4:18 PM >> *Subject:* HDP 2.1.1 API install with Ambari 1.5 fails to start YARN >> >> I am installing HDP 2.1.1 with Ambari 1.5.0 with only calls to the API. >> In my script, I set the configs, add the services, hosts and components >> with the API. I also install HDP and persist the cluster in the same >> script. I start the services using the GUI. >> >> I am able to install all the services but YARN fails to start with this >> error: >> org.apache.hadoop.security.AccessControlException: Permission denied: >> user=yarn, access=WRITE, inode="/":hdfs:hdfs:drwxr-xr-x >> >> I am able to start it after I modify the permissions as hdfs user using >> the command hadoop fs -chmod 777 /, >> >> However, I do not see this issue if we install and start the services >> using the GUI. Is there any API call that I am missing that would handle >> this? >> >> Thanks, >> Ramya >> >> >> > -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You. --90e6ba613c3a8f89d604f5b0a80a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Ramya, if you are up for it, want to try installing with t= he Blueprints API? Simplifies install vs. using the multiple Install API ca= lls...

https://cwiki.apache.org/confluence/display/= AMBARI/Blueprints


On Fri, Mar 2= 8, 2014 at 4:35 PM, Ramya Manjunath <tdc.ramya@gmail.com> = wrote:
The script modifies many co= nfiguration parameters and some are specific to our environment.

I basically started with https://github.com/apache/ambari/blob/trunk/ambari-server/src/test/resour= ces/deploy_HDP2.sh and added the new services and modified the configs.=

Thanks,
Ramya



On Fri, Mar 28, 20= 14 at 1:22 PM, Richard Clapp <raclapp@yahoo.com> wrote:
ca= n you put in your script if not too long.=A0 Perhaps there is something we = can see.


From: Ramya Manjunath <tdc.ramya@gmail.com>
To: user@ambari.apache.org
Sent: Friday, March 28, 201= 4 4:18 PM
Subject: HDP 2= .1.1 API install with Ambari 1.5 fails to start YARN

I a= m installing HDP 2.1.1 with Ambari 1.5.0 with only calls to the API. In my = script, I set the configs, add the services, hosts and components with the = API. I also install HDP and persist the cluster in the same script. I start= the services using the GUI.=A0

I am able to install all the services but YARN fails to star= t with this error:
org.apache.hadoop.security.AccessControlExcepti= on: Permission denied: user=3Dyarn, access=3DWRITE, inode=3D"/":h= dfs:hdfs:drwxr-xr-x

I am able to start it after I modify the permissi= ons as hdfs user using the command hadoop fs -chmod 777 /,

However, I do not see this issue if we install and start the servi= ces using the GUI. Is there any API call that I am missing that would handl= e this?

Thanks,
Ramya


=



CONFIDENTIALITY NOTICE
NOTICE: This message is = intended for the use of the individual or entity to which it is addressed a= nd may contain information that is confidential, privileged and exempt from= disclosure under applicable law. If the reader of this message is not the = intended recipient, you are hereby notified that any printing, copying, dis= semination, distribution, disclosure or forwarding of this communication is= strictly prohibited. If you have received this communication in error, ple= ase contact the sender immediately and delete it from your system. Thank Yo= u. --90e6ba613c3a8f89d604f5b0a80a--