I'm using puppet to automate the creation and maintenance of my hadoop cluster. However, I'm not sure how to handle this next step. In order for the cluster to run, the namenode needs to be formatted.
su hdfs -c "/usr/bin/hadoop namenode -format" I'm not sure what the best method to handle this is. Do I just add an exec command? How do I make sure that it only gets run during the initial setup? Thanks. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.