You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/01/13 22:02:35 UTC

[jira] [Commented] (AMBARI-9110) Data Node Start issue on non-root install

    [ https://issues.apache.org/jira/browse/AMBARI-9110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14275936#comment-14275936 ] 

Hudson commented on AMBARI-9110:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit-docker #743 (See [https://builds.apache.org/job/Ambari-trunk-Commit-docker/743/])
AMBARI-9110. Data Node Start issue on non-root install (dlysnichenko) (dlysnichenko: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=c22e1ec08569cbca6898ac6fc6b781bc1de28d48)
* ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py
* ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params.py
* ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_zkfc.py
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_snamenode.py
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_journalnode.py
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py


> Data Node Start issue on non-root install
> -----------------------------------------
>
>                 Key: AMBARI-9110
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9110
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9110.patch
>
>
> DataNode cannot start due to an Operation not permitted when trying to change the ulimit. See screenshot.
> Non-Root Setup: 
> {noformat} 
> # vipw 
> root:x:0:0:root:/root:/sbin/nologin 
> # echo > /etc/securetty 
> # vi /etc/ssh/sshd_config 
> PermitRootLogin no 
> {noformat} 
> 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: 
> {noformat} 
> ambari	ALL=(ALL)	NOPASSWD: ALL 
> {noformat} 
> 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) 
> {noformat} 
> Defaults exempt_group = ambari 
> Defaults !env_reset,env_delete-=PATH 
> Defaults:ambari	!requiretty 
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)