Thanks for the reply. Somehow hadoop command is not getting recognised. I am still getting error
err: /Stage[main]//Exec[hadoop-get-scoop]/returns: change from notrun to 0 failed: hadoop fs -copyToLocal s3://xxx-xxx-xxxx/scripts/mysql-connector-java.jar /home/hadoop/mysql-connector-java.jar returned 1 instead of one of [0] at /root/examples/download-s3files.pp:46 On Monday, 17 March 2014 23:38:55 UTC-7, Shouvanik Haldar wrote: > > Hi, > > I have a basic hadoop copy command > e.g. > hadoop fs -copyToLocal s3://xx-xx-xxxx/scripts/sqoop-1.4.3-hadoop200.jar > sqoop-1.4.3-hadoop200.jar > > How can I execute this command from puppet? I looked into some sites. But > could not get any help. > Please help me. > > Regards, > Shouvanik > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/db32b3f1-852a-4ea5-8bff-b4433b0e8229%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.