pythoncloudera-cdhcloudera-director

Is Cloudera director 2.8.1 python sdk supports 3.4+?


Currently am using Cloudera director 2.8.1 to auto setup, install and configure CDH (5.16.2) cluster in AWS with python sdk using version 2.7

May I know if I can use python3 to bootstrap cluster with Cloudera director 2.8.1?

For the master branch (or latest version of Altus director) I could see it supports both 2.7 and 3.4+

https://github.com/cloudera/director-sdk/tree/master/python-client

But for 2.8.1 , I couldn't find python version requirement.

Any help in this regard is appreciated.

Thanks in advance


Solution

  • (Disclaimer: I'm on the Altus Director team at Cloudera.) We use Swagger 1.5 / OpenAPI 2.0 to generate the SDK / client code, so you might be able to generate Python 3 client code yourself using those tools. However, we do use a slightly modified Python generator class, so there's some chance that your own generated code will have warts not present in what's available at https://github.com/cloudera/director-sdk .

    I'll file an internal ticket for us to try generating a Python 3 client. It makes sense to do so given the impending retirement of Python 2.