ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myroslav Papirkovskyy" <mpapyrkovs...@hortonworks.com>
Subject Re: Review Request 29860: Data Node Start issue on non-root install
Date Tue, 13 Jan 2015 19:33:38 GMT

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

Ship it!


Ship It!

- Myroslav Papirkovskyy


On Січ. 13, 2015, 9:21 після полудня, Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/29860/
> -----------------------------------------------------------
> 
> (Updated Січ. 13, 2015, 9:21 після полудня)
> 
> 
> Review request for Ambari, Alejandro Fernandez and Myroslav Papirkovskyy.
> 
> 
> Bugs: AMBARI-9110
>     https://issues.apache.org/jira/browse/AMBARI-9110
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> DataNode cannot start due to an Operation not permitted when trying to change the ulimit.
See screenshot.
> Non-Root Setup:
>  
> # vipw 
> root:x:0:0:root:/root:/sbin/nologin 
> 
> # echo > /etc/securetty 
> 
> # vi /etc/ssh/sshd_config 
> PermitRootLogin no 
> With that done I created a user named ‘ambari’ and used that during setup for the
non-root user to run the Ambari Server as. I’ve setup this in /etc/sudoers:
>  
> ambari	ALL=(ALL)	NOPASSWD: ALL 
> I know this is best case for privileges, but want to get through one iteration before
tightening it up.
> As well as this in /etc/sudoers.d/ambari (0440)
>  
> Defaults exempt_group = ambari 
> Defaults !env_reset,env_delete-=PATH 
> Defaults:ambari	!requiretty 
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params.py
d844ecd 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py
655c731 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py 2fc8549 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_journalnode.py a99748f 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py 3981e33 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_snamenode.py 7ba1924 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_zkfc.py 9fe9d03 
>   ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py
9fb41f6 
> 
> Diff: https://reviews.apache.org/r/29860/diff/
> 
> 
> Testing
> -------
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Ambari Views ...................................... SUCCESS [2.686s]
> [INFO] Ambari Server ..................................... SUCCESS [28.854s]
> [INFO] Ambari Agent ...................................... SUCCESS [15.731s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 47.995s
> [INFO] Finished at: Tue Jan 13 22:21:04 FET 2015
> [INFO] Final Memory: 40M/405M
> [INFO] ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>


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