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

How do you get the Puppet Cloudera Module to work? #39

Open
Kiran57 opened this issue Dec 17, 2016 · 1 comment
Open

How do you get the Puppet Cloudera Module to work? #39

Kiran57 opened this issue Dec 17, 2016 · 1 comment

Comments

@Kiran57
Copy link

Kiran57 commented Dec 17, 2016

I have two RedHat 6.7 servers. One is a Puppet Master, and one is a Puppet Agent.

On the Puppet Master I installed two dependencies of the Cloudera module and the Cloudera Module itself. I used this link (and the links to its dependencies): https://forge.puppet.com/razorsedge/cloudera

I do not want to deviate from the standard module whenever possible.

When I run the "puppet agent -t -d" command on the Puppet Agent, I get this error:

Error: Could not retrieve the catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Class[Cloudera::Java5] is already declared; cannot redeclare at /etc/puppetlabs/code.../init.pp

I don't know why I received this. I am using a plain server without customizing the Cloudera module.

To work around this problem, I commented out the class of "cloudera::java5" from the init.pp file that comes with the Cloudera module on the Puppet Master server. I then ran "puppet agent -t -d" again from the Puppet Agent server.

This time I get a very similar error except it deals with a duplicate declaration of Class[Cloudera::Cm5].

What am I supposed to do to get the Cloudera module to work? Comment out many different sections of the init.pp file?

@razorsedge
Copy link
Owner

@Kiran57 Help me to understand your setup: What version of Puppet are you using? On your Puppet Master you did puppet module install razorsedge-cloudera? Then what did you configure in the node declaration for the Agent?

Editing the code in the razorsedge/cloudera module will not solve your problem.

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

No branches or pull requests

2 participants