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 > > >
