Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7ABE810D0F for ; Wed, 25 Sep 2013 17:00:12 +0000 (UTC) Received: (qmail 26401 invoked by uid 500); 25 Sep 2013 17:00:06 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 26186 invoked by uid 500); 25 Sep 2013 17:00:05 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 26157 invoked by uid 99); 25 Sep 2013 17:00:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Sep 2013 17:00:04 +0000 Date: Wed, 25 Sep 2013 17:00:04 +0000 (UTC) From: "Artem Baranchuk (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-3337) When invalid jce policy file path is specified, ambari-server setup silently switches over to downloading the file from public repo 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-3337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Artem Baranchuk updated AMBARI-3337: ------------------------------------ Attachment: AMBARI-3337.patch > When invalid jce policy file path is specified, ambari-server setup silently switches over to downloading the file from public repo > ----------------------------------------------------------------------------------------------------------------------------------- > > Key: AMBARI-3337 > URL: https://issues.apache.org/jira/browse/AMBARI-3337 > Project: Ambari > Issue Type: Bug > Components: controller, test > Affects Versions: 1.4.1 > Reporter: Artem Baranchuk > Assignee: Artem Baranchuk > Fix For: 1.4.1 > > Attachments: AMBARI-3337.patch > > > When an non-existent file is provided as jce-policy parameter we should get ambari-server setup process failed instead of downloading the file from public repo. > Also, if the path is a folder then we should gracefully error out instead of allowing shutil.copy to fail with an error stack. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira