cloudera / cm_api

Cloudera Manager API Client
Apache License 2.0
305 stars 284 forks source link

How do you accept the licenses during the initial configuration? #50

Open Kiran57 opened 7 years ago

Kiran57 commented 7 years ago

I can use the Java API client or the Python API client. Do either provide coverage of the initial acceptance of licenses and selection of Cloudera Express (as opposed to the Data Hub or Enterprise editions)? I normally use the web UI to accept the Java license, Cloudera terms, and choose the edition. I'd like to automate this process.

andyao1 commented 7 years ago

Hi Kiran57,

Accepting the Java license is a pure UI step. There is no equivalent API or has any persisted effect.

Accepting the Cloudera data hub or enterprise edition does require some additional manual steps, but cloudera express does not.

So to summarize, you shouldn't need to do anything special for license in automation.

Sent from my iPhone

On Dec 26, 2016, at 3:58 PM, Kiran57 notifications@github.com wrote:

I can use the Java API client or the Python API client. Do either provide coverage of the initial acceptance of licenses and selection of Cloudera Express (as opposed to the Data Hub or Enterprise editions)? I normally use the web UI to accept the Java license, Cloudera terms, and choose the edition. I'd like to automate this process.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

Kiran57 commented 7 years ago

I plan on choosing Cloudera Express.

you shouldn't need to do anything special for license in automation.

Is there a way to automate the installation? Or must the GUI operations be handled manually before it is usable?

The Python and Java APIs have 99% coverage?

andyao1 commented 7 years ago

Hi Kiran57,

It is certainly automate-able without the GUI operations.

On Tue, Dec 27, 2016 at 4:23 PM, Kiran57 notifications@github.com wrote:

I plan on choosing Cloudera Express.

you shouldn't need to do anything special for license in automation.

Is there a way to automate the installation? Or must the GUI operations be handled manually before it is usable?

The Python and Java APIs have 99% coverage?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cloudera/cm_api/issues/50#issuecomment-269402346, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhU6GYC7XH1bM5lKMDGwil6ZosZo3uyks5rMav4gaJpZM4LV84b .

-- Andrew Yao

Software Engineer Cloudera

Kiran57 commented 7 years ago

How do I accept the licenses and choose the Cloudera Express edition when I first set up Cloudera in an automated way? I installed it with a script. Normally I would use the GUI to finish the configuration. It is not usable right now. The only method I know of is using the web UI manually.

Kiran57 commented 7 years ago

How do I automate the GUI steps? With nothing persisted to file or database table, how could I automate those steps without the GUI?

andyao1 commented 7 years ago

Hi Kiran57,

Can you send me offline what you are seeing? There is really nothing persisted in the database as far as License acceptance is concerned.

Andrew

On Mon, Jan 2, 2017 at 3:32 PM, Kiran57 notifications@github.com wrote:

How do I automate the GUI steps? With nothing persisted to file or database table, how could I automate those steps without the GUI?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cloudera/cm_api/issues/50#issuecomment-270032333, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhU6DhbZuoSaF-APV1b1cuMweLdBmuEks5rOYkpgaJpZM4LV84b .

-- Andrew Yao

Software Engineer Cloudera

Kiran57 commented 7 years ago

I see this http://bit.ly/2hQiV0q followed by this http://bit.ly/2iNm3sq If the above settings do not result in a persisted file change or database table change, I'm curious how they are recorded. How could they not be recorded? The EULA acceptance is optional? Cloudera knows not to go to the Community or Enterprise edition if you choose the Express edition. How do I communicate with you offline?

andyao1 commented 7 years ago

Hi Kiran57,

Can you email me at andyao@cloudera.com?

thanks,

Andrew

On Tue, Jan 3, 2017 at 6:15 PM, Kiran57 notifications@github.com wrote:

I see this http://bit.ly/2hQiV0q followed by this http://bit.ly/2iNm3sq If the above settings do not result in a persisted file change or database table change, I'm curious how they are recorded. How could they not be recorded? The EULA acceptance is optional? Cloudera knows not to go to the Community or Enterprise edition if you choose the Express edition. How do I communicate with you offline?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cloudera/cm_api/issues/50#issuecomment-270279339, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhU6A_wRYXKII9ZEHxEeF5O9wNzeDsyks5rOwDagaJpZM4LV84b .

-- Andrew Yao

Software Engineer Cloudera

tritab commented 6 years ago

In my experience, once you've used the API to either start the trial license or upload a license file, the manual step of clicking a EULA is not necessary.

See API documentation here:

And this python example