1. exec { "/home/haas":
        #command => 
"/usr/hdp/current/hadoop-yarn-nodemanager/sbin/yarn-daemon.sh stop 
resourcemanager",
        command =>  "hadoop fs -mkdir -p /apps/hive/warehouse",
user => haas
}

Note: my site.pp file contain this code. while executing this command 
facing validation issue. how to solve this.

2. "Error: Validation of Exec[/home/haas] failed: 'hadoop fs -mkdir -p 
/apps/hive/warehouse' is not qualified and no path was specified. Please 
qualify the command or specify a path. at /etc/puppet/manifests/site.pp:491"

Thanks,
Ayyanar Thangaraj

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/282c193c-9ba2-4283-8878-cb541a0d8b2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to