You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2015/02/16 18:36:41 UTC
Review Request 31093: Modifying the ambari server to run as a sudo
root account prints error on start
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31093/
-----------------------------------------------------------
Review request for Ambari and Vitalyi Brodetskyi.
Bugs: AMBARI-9663
https://issues.apache.org/jira/browse/AMBARI-9663
Repository: ambari
Description
-------
During ambari-server setup, changed the daemon to run as ec2-user (which is a
user that can sudo to root).
Customize user account for ambari-server daemon [y/n] (n)? y
Enter user account for ambari-server daemon (root):ec2-user
On ambari-server start, a ulimit message is printed. Not sure if it causes an
issues.
[root@ip-10-233-119-156 yum.repos.d]# ambari-server start
Using python /usr/bin/python2.6
Starting ambari-server
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start....sh: line 0: ulimit: open files: cannot modify limit: Operation not permitted
................
Ambari Server 'start' completed successfully.
Diffs
-----
ambari-server/src/main/python/ambari_server_main.py 6bd4f19
ambari-server/src/test/python/TestAmbariServer.py 075477b
Diff: https://reviews.apache.org/r/31093/diff/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk