Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloudera Manager GUI shows configuration validation when services are created using REST API. #3

Open
abhi2Git opened this issue Aug 1, 2013 · 3 comments

Comments

@abhi2Git
Copy link

abhi2Git commented Aug 1, 2013

Hi,

I am trying to create services like HDFS, MapReduce in Cloudera Manager using REST API. Services are getting created properly along with configurations, however Cloudera Manager GUI shows configuration validations errors, e.g

  1. HDFS Checkpoint Directory: Missing required value: HDFS Checkpoint Directory
    2.JobTracker Local Data Directory: Missing required value: JobTracker Local Data Directory.
    Please see the attached image.

If we call REST GET method for the service configuration, above configurations are set properly.

Please suggest how to get rid of validation errors.

Thanks
image

Abhijeet

@andyao1
Copy link
Member

andyao1 commented Aug 1, 2013

Hi Abhijeet,

Looks like the HDFS Checkpoint Directory is probably not set on the right
entity.

What REST API are you using to query it?

Is it set at the service level or at the Secondary Name Node's role level?

Andrew

On Wed, Jul 31, 2013 at 11:35 PM, Abhijeet Shipure <notifications@github.com

wrote:

Hi,

I am trying to create services like HDFS, MapReduce in Cloudera Manager
using REST API. Services are getting created properly along with
configurations, however Cloudera Manager GUI shows configuration
validations errors, e.g

  1. HDFS Checkpoint Directory: Missing required value: HDFS Checkpoint
    Directory
    2.JobTracker Local Data Directory: Missing required value: JobTracker
    Local Data Directory.
    Please see the attached image.

If we call REST GET method for the service configuration, above
configurations are set properly.

Please suggest how to get rid of validation errors.

Thanks
[image: image]https://f.cloud.github.com/assets/4717153/892041/23922644-fa74-11e2-94b8-501903d28c04.png

Abhijeet


Reply to this email directly or view it on GitHubhttps://github.com//issues/3
.

Andrew Yao

Software Engineer
Cloudera

@abhi2Git
Copy link
Author

abhi2Git commented Aug 1, 2013

Hi Andrew,

As you can see from below given screen shot, the values are already set still Cloudera Manager is showing validation errors :
image

@EronWright
Copy link

I suggest you create a cluster using the UI, then inspect the JSON obtained from the 'deployment' resource (see here). You will notice that some settings are stored at the service level, some at the role group level, and (rarely) at the role level. Your settings appear to be set at the role level, which is atypical.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants