Thanks for the info, Jeff! I would like to try it out. But for now, I was wondering if it is required to change the permissions of the directory to start YARN with an API based install.
On Fri, Mar 28, 2014 at 1:36 PM, Jeff Sposetti <[email protected]> wrote: > 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 <[email protected]>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 <[email protected]> wrote: >> >>> can you put in your script if not too long. Perhaps there is something >>> we can see. >>> >>> ------------------------------ >>> *From:* Ramya Manjunath <[email protected]> >>> *To:* [email protected] >>> *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.
