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 E2CA7109F7 for ; Fri, 11 Apr 2014 18:43:17 +0000 (UTC) Received: (qmail 40741 invoked by uid 500); 11 Apr 2014 18:43:17 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 40718 invoked by uid 500); 11 Apr 2014 18:43:17 -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 40704 invoked by uid 99); 11 Apr 2014 18:43:16 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2014 18:43:16 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 756A91D5E48; Fri, 11 Apr 2014 18:43:11 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============6743470649025928704==" MIME-Version: 1.0 Subject: Re: Review Request 20269: WebHCat start Fail with authorization enabled From: "Mahadev Konar" To: "Mahadev Konar" , "Sumit Mohanty" Cc: "Sid Wagle" , "Ambari" Date: Fri, 11 Apr 2014 18:43:11 -0000 Message-ID: <20140411184311.10503.41894@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Mahadev Konar" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/20269/ X-Sender: "Mahadev Konar" References: <20140411181140.25249.87011@reviews.apache.org> In-Reply-To: <20140411181140.25249.87011@reviews.apache.org> Reply-To: "Mahadev Konar" X-ReviewRequest-Repository: ambari --===============6743470649025928704== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/20269/#review40177 ----------------------------------------------------------- Ship it! Ship It! - Mahadev Konar On April 11, 2014, 6:11 p.m., Sid Wagle wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/20269/ > ----------------------------------------------------------- > > (Updated April 11, 2014, 6:11 p.m.) > > > Review request for Ambari, Mahadev Konar and Sumit Mohanty. > > > Bugs: AMBARI-5447 > https://issues.apache.org/jira/browse/AMBARI-5447 > > > Repository: ambari > > > Description > ------- > > This is a bug in our code where we run the unless command as root. This does not show up in our test environment because the we allow all users to access hadoop unless there are specific perms in place. > If the hadoop-policy file prevents root to access hadoop at all - which is a good thing; we we fail on CopyFromLocal and WebHCat will not restart. > > > Diffs > ----- > > ambari-agent/src/main/python/resource_management/libraries/providers/copy_from_local.py d25dd8b > ambari-agent/src/test/python/resource_management/TestCopyFromLocal.py 7653b24 > ambari-server/src/main/resources/stacks/HDP/1.3.2/services/WEBHCAT/package/scripts/webhcat.py 0c75d18 > ambari-server/src/test/python/stacks/1.3.2/HDFS/test_service_check.py 732b7e4 > ambari-server/src/test/python/stacks/1.3.2/WEBHCAT/test_webhcat_server.py 666d693 > ambari-server/src/test/python/stacks/2.0.6/HDFS/test_service_check.py 732b7e4 > > Diff: https://reviews.apache.org/r/20269/diff/ > > > Testing > ------- > > ---------------------------------------------------------------------- > Ran 47 tests in 0.149s > > OK > > [INFO] ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Ambari Main ....................................... SUCCESS [1.660s] > [INFO] Apache Ambari Project POM ......................... SUCCESS [0.271s] > [INFO] Ambari Web ........................................ SUCCESS [8.598s] > [INFO] Ambari Views ...................................... SUCCESS [0.995s] > [INFO] Ambari Server ..................................... SUCCESS [23.914s] > [INFO] Ambari Agent ...................................... SUCCESS [9.514s] > [INFO] Ambari Client ..................................... SUCCESS [0.537s] > [INFO] ------------------------------------------------------------------------ > > > Thanks, > > Sid Wagle > > --===============6743470649025928704==--