ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mahadev konar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-3723) ambari-client does not install correctly
Date Fri, 08 Nov 2013 22:05:17 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-3723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13817741#comment-13817741
] 

Mahadev konar commented on AMBARI-3723:
---------------------------------------

[~subin11] thanks for taking a look. You might want to add the steps to: 

https://cwiki.apache.org/confluence/display/AMBARI/Ambari+python+Client ?



> ambari-client does not install correctly 
> -----------------------------------------
>
>                 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 : 
> >>> from ambari_client.ambari_api import AmbariClient
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib/python2.6/site-packages/ambari_client/ambari_api.py", line 19, in <module>
>     from ambari_client.core.http_client import HttpClient
> ImportError: No module named core.http_client
> I've installed it on centos 6 using 
> 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.linux-x86_64.tar.g\
> -C /
> The installation is not copying the folder : core, model, resources so I’ve copied
it manually afterward and it now works: 
> 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)

Mime
View raw message