You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
@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.
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:
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?
The text was updated successfully, but these errors were encountered: