Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B04891728C for ; Sun, 26 Oct 2014 16:24:43 +0000 (UTC) Received: (qmail 15697 invoked by uid 500); 26 Oct 2014 16:24:43 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 15667 invoked by uid 500); 26 Oct 2014 16:24:43 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 15653 invoked by uid 99); 26 Oct 2014 16:24:43 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Oct 2014 16:24:43 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id A70FC1D2F2C; Sun, 26 Oct 2014 16:24:47 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============0129456472938998772==" MIME-Version: 1.0 Subject: Re: Review Request 27208: Ambari: Add oozie install user as an Oozie admin user From: "Dmytro Sen" To: "Andrew Onischuk" , "Dmytro Sen" Cc: "Ambari" Date: Sun, 26 Oct 2014 16:24:47 -0000 Message-ID: <20141026162447.7138.40914@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Dmytro Sen" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/27208/ X-Sender: "Dmytro Sen" References: <20141026160618.7138.73070@reviews.apache.org> In-Reply-To: <20141026160618.7138.73070@reviews.apache.org> Reply-To: "Dmytro Sen" X-ReviewRequest-Repository: ambari --===============0129456472938998772== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27208/#review58560 ----------------------------------------------------------- Ship it! Ship It! - Dmytro Sen On Окт. 26, 2014, 4:06 п.п., Andrew Onischuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/27208/ > ----------------------------------------------------------- > > (Updated Окт. 26, 2014, 4:06 п.п.) > > > Review request for Ambari, Andrew Onischuk and Dmytro Sen. > > > Bugs: AMBARI-7976 > https://issues.apache.org/jira/browse/AMBARI-7976 > > > Repository: ambari > > > Description > ------- > > Oozie has an authorization model for admin access to oozie facilities. Oozie > admin users > > * have write access to all jobs > * have write access to admin operations > > When authorization server security is enabled by config property > oozie.service.AuthorizationService.authorization.enabled (which is set to true > in our installations - the default is false), then admin users are determined > by either membership in a group identified by the property > oozie.service.AuthorizationService.admin.groups. > > Since we don't set either of them, we expect users to set the admin usernames > in the file /etc/oozie/conf/adminusers.txt > > See [Oozie User Authorization Configuration](https://oozie.apache.org/docs/4.0 > .0/AG_Install.html#User_Authorization_Configuration) for more details on admin > user configuration > > Because we want to do sharelib update operations which are write access > operations, the user performing these should be an Oozie admin user. If not, > the admin operation will fail. > > We should explicitly add the oozie install user as the admin user by adding > the user to adminusers.txt > > This feature is also needed for rolling upgrade scenarios to explicitly update > sharelib after upgrading the servers. > > > Diffs > ----- > > ambari-common/src/main/python/resource_management/libraries/functions/__init__.py 3d92d64 > ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/metainfo.xml 9d4247e > ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/scripts/oozie.py bba2e09 > ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/scripts/params.py 3960904 > ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/templates/adminusers.txt.j2 PRE-CREATION > ambari-server/src/main/resources/stacks/HDP/2.2/services/OOZIE/configuration/oozie-site.xml 4a8eab7 > ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_client.py 7afbf96 > > Diff: https://reviews.apache.org/r/27208/diff/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Andrew Onischuk > > --===============0129456472938998772==--