Return-Path: X-Original-To: apmail-ambari-issues-archive@minotaur.apache.org Delivered-To: apmail-ambari-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B2E82198B3 for ; Mon, 21 Mar 2016 14:57:25 +0000 (UTC) Received: (qmail 45816 invoked by uid 500); 21 Mar 2016 14:57:25 -0000 Delivered-To: apmail-ambari-issues-archive@ambari.apache.org Received: (qmail 45783 invoked by uid 500); 21 Mar 2016 14:57:25 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 45757 invoked by uid 99); 21 Mar 2016 14:57:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Mar 2016 14:57:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 838272C14DC for ; Mon, 21 Mar 2016 14:57:25 +0000 (UTC) Date: Mon, 21 Mar 2016 14:57:25 +0000 (UTC) From: "Hadoop QA (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-15490) DB connection check installs JDK with incorrect permissions. umask 027, non root MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-15490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15204393#comment-15204393 ] Hadoop QA commented on AMBARI-15490: ------------------------------------ {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12794508/AMBARI-15490.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:red}-1 core tests{color}. The test build failed in ambari-server Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/5948//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/5948//console This message is automatically generated. > DB connection check installs JDK with incorrect permissions. umask 027, non root > -------------------------------------------------------------------------------- > > Key: AMBARI-15490 > URL: https://issues.apache.org/jira/browse/AMBARI-15490 > Project: Ambari > Issue Type: Bug > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Fix For: 2.2.2 > > Attachments: AMBARI-15490.patch > > > **STR** > 1) Setup umask 027, non root agent > 2) During the wizard set Oozie server and Ambari-server on different hosts > 3) On service configuration step set Oozie db as "Existing MySQL Database" and > hit "Test Connection" button > 4) Deploy the cluster > To reproduce this DB connection check should be executed before any host > command (BEFORE-ANY hook setups JDK as well) > **Result** > On the host with Oozie server (where DB connection check was executed) JDK is > installed with incorrect permissions. Services will fail to start. > > > /usr/jdk64/jdk1.8.0_60/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory > > [root@c6406 ~]# ll /usr/jdk64/jdk1.8.0_60/jre/lib/amd64/jli/libjli.so > -rwxr-x--- 1 vagrant vagrant 102352 Aug 4 2015 /usr/jdk64/jdk1.8.0_60/jre/lib/amd64/jli/libjli.so > [root@c6406 ~]# ll /usr/jdk64/jdk1.8.0_60/lib/amd64/jli/libjli.so > -rwxr-x--- 1 vagrant vagrant 102990 Aug 4 2015 /usr/jdk64/jdk1.8.0_60/lib/amd64/jli/libjli.so > -- This message was sent by Atlassian JIRA (v6.3.4#6332)