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 A3F3C11B63 for ; Wed, 2 Jul 2014 16:12:24 +0000 (UTC) Received: (qmail 14631 invoked by uid 500); 2 Jul 2014 16:12:24 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 14598 invoked by uid 500); 2 Jul 2014 16:12:24 -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 14585 invoked by uid 99); 2 Jul 2014 16:12:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2014 16:12:24 +0000 Date: Wed, 2 Jul 2014 16:12:24 +0000 (UTC) From: "Dmitry Lysnichenko (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-5705) Fail to install hive client with error: Fail: Execution of '/bin/sh -c 'cd /usr/lib/ambari-agent/ && curl -kf --retry 5 http://hadoop1:8080/resources/DBConnectionVerification.jar -o DBConnectionVerification.jar'' returned 22. 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-5705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14050257#comment-14050257 ] Dmitry Lysnichenko commented on AMBARI-5705: -------------------------------------------- [~dcameron], no_proxy env var is set up automatically by Ambari when performing curl calls. Usually I use /etc/environment file to set up http_proxy system-wide. > Fail to install hive client with error: Fail: Execution of '/bin/sh -c 'cd /usr/lib/ambari-agent/ && curl -kf --retry 5 http://hadoop1:8080/resources/DBConnectionVerification.jar -o DBConnectionVerification.jar'' returned 22. > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: AMBARI-5705 > URL: https://issues.apache.org/jira/browse/AMBARI-5705 > Project: Ambari > Issue Type: Bug > Components: controller, test > Affects Versions: 1.5.0 > Reporter: Dmitry Lysnichenko > Assignee: Dmitry Lysnichenko > Fix For: 1.6.0 > > Attachments: AMBARI-5705.patch, AMBARI-5705_branch-1.6.0.patch > > > PROBLEM: Fresh install of HDP 2.1, when deploying hive client it fail with error: Execution of '/bin/sh -c 'cd /usr/lib/ambari-agent/ && curl -kf --retry 5 http://hadoop1:8080/resources/DBConnectionVerification.jar -o DBConnectionVerification.jar'' returned 22. > Steps to reproduce: set up a proxy (http_proxy=""). > Fix: > Added > {code} > --noproxy > {code} > option to all our curl invocations that download files from ambari-server. I would go for this option because sometimes ftp_proxy may be used as well. > Also, I've fixed an error message that is shown when jce_name property is not defined in a non-secure cluster and added a proper handling of this situation in secure cluster. -- This message was sent by Atlassian JIRA (v6.2#6252)