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 8D06510D8E for ; Fri, 8 Nov 2013 22:05:18 +0000 (UTC) Received: (qmail 35342 invoked by uid 500); 8 Nov 2013 22:05:17 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 35302 invoked by uid 500); 8 Nov 2013 22:05:17 -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 35242 invoked by uid 99); 8 Nov 2013 22:05:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Nov 2013 22:05:17 +0000 Date: Fri, 8 Nov 2013 22:05:17 +0000 (UTC) From: "Mahadev konar (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-3723) ambari-client does not install correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-3723?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D138= 17741#comment-13817741 ]=20 Mahadev konar commented on AMBARI-3723: --------------------------------------- [~subin11] thanks for taking a look. You might want to add the steps to:=20 https://cwiki.apache.org/confluence/display/AMBARI/Ambari+python+Client ? > ambari-client does not install correctly=20 > ----------------------------------------- > > Key: AMBARI-3723 > URL: https://issues.apache.org/jira/browse/AMBARI-3723 > Project: Ambari > Issue Type: Bug > Components: client > Affects Versions: 1.4.1 > Environment: CentOS6 x86_64 / HDP 1.4.1 > Reporter: Olivier Renault > Assignee: subin > Fix For: 1.4.3 > > > After having installed ambari-client manually, if i register the client i= get :=20 > >>> from ambari_client.ambari_api import AmbariClient > Traceback (most recent call last): > File "", line 1, in > File "/usr/lib/python2.6/site-packages/ambari_client/ambari_api.py", li= ne 19, in > from ambari_client.core.http_client import HttpClient > ImportError: No module named core.http_client > I've installed it on centos 6 using=20 > git clone https://github.com/apache/incubator-ambari.git > cd incubator-ambari/ambari-client/ > mvn install > tar zxvf \ > target/ambari-client-1.3.0-SNAPSHOT/dist/ambari_client-1.0.3-SNAPSHOT.lin= ux-x86_64.tar.g\ > -C / > The installation is not copying the folder : core, model, resources so I= =E2=80=99ve copied it manually afterward and it now works:=20 > cp -ax target/ambari-client-1.3.0-SNAPSHOT/ambari_client/{resources,core,= model} \ > /usr/lib/python2.6/site-packages/ambari_client/ -- This message was sent by Atlassian JIRA (v6.1#6144)