ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Bittmann (JIRA)" <>
Subject [jira] [Commented] (AMBARI-13511) in python does not ambari_client include modules in subdirectories 'core' and 'model'
Date Thu, 22 Oct 2015 13:48:27 GMT


Mark Bittmann commented on AMBARI-13511:

Looks like this failed QA due to lack of tests. I don't see any existing automated tests around
packaging the python client, and none of my changes impact any of the existing unit tests.
I would welcome suggestions on testing the package generation.

In looking further into the codebase, it appears that there hasn't been much activity on the
python client. For example, it still uses the /stacks2 endpoint (removed in Ambari 2.0) in
this file: ambari/ambari-client/python-client/src/main/python/ambari_client/model/

Is the the python client still supported? 

> in python does not ambari_client include modules in subdirectories 'core' and
> ----------------------------------------------------------------------------------------------
>                 Key: AMBARI-13511
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-client
>    Affects Versions: trunk
>            Reporter: Mark Bittmann
>            Priority: Minor
>         Attachments: AMBARI-13511.patch
> After running 'python install', the python modules in the subdirectories 'core'
and 'model' are not available. This appears to affect the current distribution hosted on pypi
as well (ambari_client 1.0.3-SNAPSHOT). I have created a patch file and will upload. 
> Below is the error message: 
> >>> from ambari_client import ambari_api
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "build/bdist.macosx-10.10-x86_64/egg/ambari_client/", line 19, in
> ImportError: No module named core.http_client 

This message was sent by Atlassian JIRA

View raw message