ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 31092: Modifying the ambari server to run as a sudo root account prints error on start
Date Mon, 16 Feb 2015 17:36:08 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31092/
-----------------------------------------------------------

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/31092/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message